Re:JQ.Mobi Is A Mobile-Optimized HTML5 Rewrite Of the JQuery...
by crescentfresh on Monday January 16, 2012 @01:00PM
(#3471679)
Does backbone use .data()?
Re:JQ.Mobi Is A Mobile-Optimized HTML5 Rewrite Of the JQuery...
by davej on Monday January 16, 2012 @02:32PM
(#3472080)
Actually, you're right, it probably doesn't. I always use Backbone with the backbone.modelbinding plugin, so I forgot that it's not part of the Backbone core lib.
edit: Looks like JQ.Mobi does support .data() anyway: https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L3...
It doesn't seem to support .delegate() or .data() though, so you would probably have to shim these (and probably a couple of others that I forgot) yourself.