Begs the question; what is the best practise. Doing the mental switch from onButtonReady to buttonReady or keeping both the same..?
On Saturday, June 2, 2012 6:54:05 PM UTC+2, Sanford Whiteman wrote: > > > you need to prefix your constant with "on" ("onButtonReady" > > Actually, it's just that the case was wrong: > > http://jsfiddle.net/Eu7wc/6/ > > The "on" gets stripped but the remaining string is changed to > camelBack case. > > -- S. > > >