You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it means that any bindings that have names like this: someBinding won't work. A couple built in bindings happen to work, such as textInput, because they are actually aliased to have lower case versions as well. Obviously, a work around is to simply alias any binding that doesn't already have a lower case alias, but I'm not certain why that's necessary. Was this intentional?
The text was updated successfully, but these errors were encountered:
Actually, the browser is supposed to lowercase the attributes. So this code just doubly ensures they are lowercase. The general method of converting camel-cased JavaScript to attributes is to add hyphens. Thus someBinding would become some-binding.
Agreed, that would be the best solution. Right now however, that doesn't work. Would it be reasonable to simply change kebab case to camel case where the lower case version isn't found? e.g., check for a binding named some-binding like it already does, if that fails, check for a binding named someBinding.
I'm not entirely sure why this line is here
knockout.punches/src/interpolationMarkup.js
Line 146 in 70ed98d
but it means that any bindings that have names like this:
someBinding
won't work. A couple built in bindings happen to work, such astextInput
, because they are actually aliased to have lower case versions as well. Obviously, a work around is to simply alias any binding that doesn't already have a lower case alias, but I'm not certain why that's necessary. Was this intentional?The text was updated successfully, but these errors were encountered: