jason clark
jason clark

Reputation: 829

jquerymobile 1.3.1 & Jquery 2.0 Beta

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

Answers (2)

The Applicationist
The Applicationist

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

chemark
chemark

Reputation: 1231

Propably, it is a compatibility issue:

http://forum.jquery.com/topic/jquery-2-0-0-compatibility

Upvotes: 2

Related Questions