Reputation: 829
I've seen a few posts where people have successfully implemented this; my goal being to use the slimmer version of Jquery with Jquery mobile to see if I can get a speed increase.
However I get an error on navigating between pages ( which did work in the previous version of Jquery)
The error is:
Uncaught TypeError: Cannot read property 'options' of undefined - jquery.mobile-1.3.1.custom.js:10313
_create: function () {
var self = this,
$el = self.element,
page = $el.closest(":jqmData(role='page')"),
_getPageTheme = function () {
var $theme = $.data(page[0], "mobilePage").options.theme
Upvotes: 3
Views: 1248
Reputation: 525
After trying everything, page loads were still just stuck on the loading spinner. This only seemed to be an issue when loading page files, rather than multi page files.
Changing back to jQuery 1.9.1 solve this for me
Upvotes: 2
Reputation: 1231
Propably, it is a compatibility issue:
http://forum.jquery.com/topic/jquery-2-0-0-compatibility
Upvotes: 2