06-05-2012 04:39 PM
I haven't tried it myself, but I don't see why there would be a problem. If you do try it out, please let us know about your experience and if we can help with any issues you do find.
06-05-2012 05:07 PM - edited 06-06-2012 01:34 AM
I use backbone.js with Qjuery mobile(for events). Its works perfect with webWorks. What kind of help do you need?
Small example for you
09-04-2012 01:15 PM
Does backbone offer any unit tests to see what features it requires from a browser? that would be great to he identify what might be failing, otherwise it would be looking for a needle in a haystack.
09-06-2012 04:57 AM - edited 09-06-2012 07:59 AM
Backbone does have a test suite and so does underscore which backbone depends on. However these don't seem to run at all on my blackberry browser so its not much help(unless I modify the tests that is).
I am still busy investigating this while trying to get a backbone, underscore and zepto app to work completely in OS 5.
Thinking that backbone itself is at fault might have been a bit premature though, so far it seems that the fault lies more with underscore and zepto. Once I have everything working I am happy to list all isses and modifications to underscore etc that are needed to get the libraries working (or mostly working), if anyone is interested that is . . .
I spoke too soon it seems. At least one change needed to backbone is to disable it using the hashchange event . . .
09-06-2012 09:13 AM
That's exactly what I was asking for! Thanks for posting those. Just ran them on BlackBerry 7 and all tests pass as expected.
The test suite being used is QUnit, which depends on jQuery, which we know does not work 100% on BlackBerry OS 5. Since jQuery and Zepto share a similar interface (yet different implementations), I would think that Zepto may be the issue.
Here is a DOM unit test for Zepto that displays its results to the screen and also the console. Does this test run on OS5?
Otherwise, can you isolate Zepto itself? Create a hello world sample that uses Zepto to test some of its functionality. Does it work on OS 5?