KnockoutJS drop alias textinput for textInput

This commit is contained in:
the-djmaze 2024-03-03 17:21:27 +01:00
parent ee3aa16fcf
commit 47cd902369

View file

@ -51,9 +51,3 @@ ko.bindingHandlers['textInput'] = {
ko.computed(updateView, { disposeWhenNodeIsRemoved: element });
}
};
// textinput is an alias for textInput
ko.bindingHandlers['textinput'] = {
// preprocess is the only way to set up a full alias
'preprocess': (value, name, addBinding) => addBinding('textInput', value)
};