3 ms·
I use event data a lot, but I didn’t even realise you could pass a string.
by robin_reala 15y ago
I use event data a lot, but I didn’t even realise you could pass a string.
- robryan 15y agoYeah, for bind and live I was under the impression that only an object would work from the docs.
- dmethvin 15y agoHaha, well it has always been documented to be an Object but turns out that there are a lot of people who don't read the documentation and pass strings or numbers. So rather than break their code in 1.7 we decided to document the fact that plain types can be used if you're careful.