From bbee2fdb2b81f1e8e047b33b849f82d43ecbb0b1 Mon Sep 17 00:00:00 2001 From: chrsMon Date: Sun, 13 Feb 2011 21:11:53 +0100 Subject: [PATCH 01/83] Fixes issue #1036 partially offscreen rendering of select menu https://github.com/jquery/jquery-mobile/issues/issue/1036 The css styles the select menu with a width of 80% with a max-width of 350px. This fix checks if width of select menu is less than max-width. If that is the case the select menu is centered on screen. If not it checks if the rigth or left side of the select menu are outside the viewport and if so moves the select menu inside the viewport with a 30px tolerance. --- js/jquery.mobile.forms.select.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 508d1d2f..0b115e9b 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -405,8 +405,8 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { if( this.options.disabled || this.options.nativeMenu ){ return; } var self = this, - menuHeight = self.list.outerHeight(), - menuWidth = self.list.outerWidth(), + menuHeight = self.list.parent().outerHeight(), + menuWidth = self.list.parent().outerWidth(), scrollTop = $(window).scrollTop(), btnOffset = self.button.offset().top, screenHeight = window.innerHeight, @@ -455,6 +455,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { var roomtop = btnOffset - scrollTop, roombot = scrollTop + screenHeight - btnOffset, halfheight = menuHeight / 2, + maxwidth = parseFloat(self.list.parent().css('max-width')), newtop,newleft; if( roomtop > menuHeight / 2 && roombot > menuHeight / 2 ){ @@ -465,8 +466,17 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { newtop = roomtop > roombot ? scrollTop + screenHeight - menuHeight - 30 : scrollTop + 30; } - newleft = self.button.offset().left + self.button.outerWidth() / 2 - menuWidth / 2; - + if (menuWidth < maxwidth) { + newleft = (screenWidth - menuWidth) / 2; + } else { + newleft = self.button.offset().left + self.button.outerWidth() / 2 - menuWidth / 2; + // 30px tolerance off the edges + if (newleft < 30) { + newleft = 30; + } else if ((newleft + menuWidth) > screenWidth) { + newleft = screenWidth - menuWidth - 30; + } + } self.listbox .append( self.list ) From 2cb7ff0814a1ce4dbf04c7a2e01b64ab052c1732 Mon Sep 17 00:00:00 2001 From: eddiemonge Date: Thu, 3 Mar 2011 17:45:34 -0800 Subject: [PATCH 02/83] Issue: 733; Defaults form submits to GET method when method is not defined to prevent crashing Android's default browser --- js/jquery.mobile.navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 323866b0..75cea6b2 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -619,7 +619,7 @@ $.mobile.changePage({ url: url, - type: type, + type: ( type ? type : 'get' ), data: $(this).serialize() }, undefined, From b4ecf585b209f165907dec02e594a489db6ee987 Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Fri, 4 Mar 2011 11:49:03 +0000 Subject: [PATCH 03/83] Fix for #1151 - Form elements aren't full width. Needs testing. --- themes/default/jquery.mobile.forms.textinput.css | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/default/jquery.mobile.forms.textinput.css b/themes/default/jquery.mobile.forms.textinput.css index 344e016c..27b21b09 100644 --- a/themes/default/jquery.mobile.forms.textinput.css +++ b/themes/default/jquery.mobile.forms.textinput.css @@ -15,7 +15,6 @@ textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; /* orientation adjustments - incomplete!*/ .min-width-480px label.ui-input-text { vertical-align: top; } .min-width-480px label.ui-input-text { display: inline-block; width: 20%; margin: 0 2% 0 0; } -.min-width-480px input.ui-input-text, .min-width-480px textarea.ui-input-text, .min-width-480px .ui-input-search { width: 60%; display: inline-block; } .min-width-480px .ui-input-search { width: 50%; } \ No newline at end of file From 6e64ccf3080b63b0fd1217493362086a57c09c5a Mon Sep 17 00:00:00 2001 From: John Bender Date: Sun, 6 Mar 2011 23:47:40 -0800 Subject: [PATCH 04/83] moved dialog skipping to the hashchange callback, needs a refactor --- js/jquery.mobile.navigation.js | 42 ++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 2d1630a3..152a0ac2 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -660,20 +660,7 @@ //if there's a data-rel=back attr, go back in history if( $this.is( "[data-rel='back']" ) ){ - var currentIndex = $.mobile.urlHistory.activeIndex, backToIndex; - - // for each history entry that is not the current page (currentIndex - 1) - for(var i = currentIndex - 1; i >= 0; i--){ - backToIndex = i; - - // break when we've found the first page that isn't a dialog - if($.mobile.urlHistory.stack[i].url.indexOf(dialogHashKey) < 0 ){ - break; - } - } - - //use the difference between closest non dialog index and the current index - window.history.go(backToIndex - currentIndex); + window.history.back(); return false; } @@ -731,7 +718,32 @@ //find first page via hash var to = path.stripHash( location.hash ), //transition is false if it's the first page, undefined otherwise (and may be overridden by default) - transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined; + transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined, + back , forward, newActiveIndex; + + + if(urlHistory.stack.length > 1 && to.indexOf( dialogHashKey ) > -1 && !$.mobile.activePage.is( ".ui-dialog" )){ + // check if url is in history and if it's ahead or behind current page + $.each( urlHistory.stack, function( i ){ + //if the url is in the stack, it's a forward or a back + if( this.url === to ){ + //define back and forward by whether url is older or newer than current page + back = i < urlHistory.activeIndex; + forward = !back; + newActiveIndex = i; + } + }); + + // save new page index + urlHistory.activeIndex = newActiveIndex ? newActiveIndex : urlHistory.activeIndex; + + if(back){ + window.history.back(); + } else if(forward){ + window.history.forward(); + } + return; + } //if listening is disabled (either globally or temporarily), or it's a dialog hash if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange || From 1ad0769862558f7e3cc1a21776d44ca28ed6ff76 Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 7 Mar 2011 16:49:53 -0800 Subject: [PATCH 05/83] refactored determining of back or forward and added callbacks for both cases --- js/jquery.mobile.navigation.js | 98 +++++++++++++++++----------------- 1 file changed, 48 insertions(+), 50 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 152a0ac2..48091282 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -117,6 +117,31 @@ urlHistory.stack = urlHistory.stack.slice( 0, urlHistory.activeIndex + 1 ); }, + directHashChange: function(opts){ + var back , forward, newActiveIndex; + + // check if url is in history and if it's ahead or behind current page + $.each( urlHistory.stack, function( i, historyEntry ){ + + //if the url is in the stack, it's a forward or a back + if( opts.currentUrl === historyEntry.url ){ + //define back and forward by whether url is older or newer than current page + back = i < urlHistory.activeIndex; + forward = !back; + newActiveIndex = i; + } + }); + + // save new page index + urlHistory.activeIndex = newActiveIndex ? newActiveIndex : urlHistory.activeIndex; + + if( back ){ + opts.isBack(); + } else if( forward ){ + opts.isForward(); + } + }, + //disable hashchange event listener internally to ignore one change //toggled internally when location.hash is updated to match the url of a successful page load ignoreNextHashChange: true @@ -284,40 +309,21 @@ isPageTransitioning = true; - // if the changePage was sent from a hashChange event - // guess if it came from the history menu + // if the changePage was sent from a hashChange event guess if it came from the history menu + // and match the transition accordingly if( fromHashChange ){ - - // determine new page index - var newActiveIndex; - - // check if url is in history and if it's ahead or behind current page - $.each( urlHistory.stack, function( i ){ - //if the url is in the stack, it's a forward or a back - if( this.url === url ){ - //define back and forward by whether url is older or newer than current page - back = i < urlHistory.activeIndex; - //forward set to opposite of back - forward = !back; - //reset activeIndex to this one - newActiveIndex = i; + urlHistory.directHashChange({ + currentUrl: url, + isBack: function(){ + reverse = true; + transition = transition || currPage.transition; + }, + isForward: function(){ + transition = transition || urlHistory.getActive().transition; } }); - - // save new page index - urlHistory.activeIndex = newActiveIndex !== undefined ? newActiveIndex : urlHistory.activeIndex; - - //if it's a back, use reverse animation - if( back ){ - reverse = true; - transition = transition || currPage.transition; - } - else if ( forward ){ - transition = transition || urlHistory.getActive().transition; - } } - if( toIsObject && to.url ){ url = to.url; data = to.data; @@ -722,36 +728,28 @@ back , forward, newActiveIndex; - if(urlHistory.stack.length > 1 && to.indexOf( dialogHashKey ) > -1 && !$.mobile.activePage.is( ".ui-dialog" )){ - // check if url is in history and if it's ahead or behind current page - $.each( urlHistory.stack, function( i ){ - //if the url is in the stack, it's a forward or a back - if( this.url === to ){ - //define back and forward by whether url is older or newer than current page - back = i < urlHistory.activeIndex; - forward = !back; - newActiveIndex = i; - } + // special case for dialogs requires heading back or forward until we find a non dialog page + if( urlHistory.stack.length > 1 && + to.indexOf( dialogHashKey ) > -1 && + !$.mobile.activePage.is( ".ui-dialog" ) ){ + + //determine if we're heading forward or backward and continue accordingly past + //the current dialog + urlHistory.directHashChange({ + currentUrl: to, + isBack: function(){ window.history.back(); }, + isForward: function(){ window.history.forward(); } }); - // save new page index - urlHistory.activeIndex = newActiveIndex ? newActiveIndex : urlHistory.activeIndex; - - if(back){ - window.history.back(); - } else if(forward){ - window.history.forward(); - } return; } //if listening is disabled (either globally or temporarily), or it's a dialog hash - if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange || - (urlHistory.stack.length > 1 && to.indexOf( dialogHashKey ) > -1 && !$.mobile.activePage.is( ".ui-dialog" )) - ){ + if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange ){ if( !urlHistory.ignoreNextHashChange ){ urlHistory.ignoreNextHashChange = true; } + return; } From c9416a09a758a656a399f1609814853e6fe5a056 Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 7 Mar 2011 17:04:42 -0800 Subject: [PATCH 06/83] moved urlHistory refs to this where possible --- js/jquery.mobile.navigation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 48091282..0366e875 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -120,8 +120,8 @@ directHashChange: function(opts){ var back , forward, newActiveIndex; - // check if url is in history and if it's ahead or behind current page - $.each( urlHistory.stack, function( i, historyEntry ){ + // check if url isp in history and if it's ahead or behind current page + $.each( this.stack, function( i, historyEntry ){ //if the url is in the stack, it's a forward or a back if( opts.currentUrl === historyEntry.url ){ @@ -133,7 +133,7 @@ }); // save new page index - urlHistory.activeIndex = newActiveIndex ? newActiveIndex : urlHistory.activeIndex; + this.activeIndex = newActiveIndex ? newActiveIndex : this.activeIndex; if( back ){ opts.isBack(); From 150f0f6c177de4f85439400514105900f47cf72a Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 7 Mar 2011 17:23:44 -0800 Subject: [PATCH 07/83] moved global hashchange disable check above dialog check --- js/jquery.mobile.navigation.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 0366e875..43b8b4dd 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -727,6 +727,14 @@ transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined, back , forward, newActiveIndex; + //if listening is disabled (either globally or temporarily), or it's a dialog hash + if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange ){ + if( !urlHistory.ignoreNextHashChange ){ + urlHistory.ignoreNextHashChange = true; + } + + return; + } // special case for dialogs requires heading back or forward until we find a non dialog page if( urlHistory.stack.length > 1 && @@ -744,15 +752,6 @@ return; } - //if listening is disabled (either globally or temporarily), or it's a dialog hash - if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange ){ - if( !urlHistory.ignoreNextHashChange ){ - urlHistory.ignoreNextHashChange = true; - } - - return; - } - //if to is defined, load it if ( to ){ $.mobile.changePage( to, transition, undefined, false, true ); From 224c0a90ca6b67038ce89fd8d195944173704b86 Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 7 Mar 2011 17:24:55 -0800 Subject: [PATCH 08/83] removed unnecessary variables in hashchange callback --- js/jquery.mobile.navigation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 43b8b4dd..753028ae 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -724,8 +724,7 @@ //find first page via hash var to = path.stripHash( location.hash ), //transition is false if it's the first page, undefined otherwise (and may be overridden by default) - transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined, - back , forward, newActiveIndex; + transition = $.mobile.urlHistory.stack.length === 0 ? false : undefined; //if listening is disabled (either globally or temporarily), or it's a dialog hash if( !$.mobile.hashListeningEnabled || !urlHistory.ignoreNextHashChange ){ From 8803bee3bb6dc19037e718c7db91cde01e6dbd03 Mon Sep 17 00:00:00 2001 From: John Bender Date: Tue, 8 Mar 2011 14:59:23 -0800 Subject: [PATCH 09/83] fixed zero index bug for directHashChange --- js/jquery.mobile.navigation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 753028ae..6c64fb4c 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -118,7 +118,7 @@ }, directHashChange: function(opts){ - var back , forward, newActiveIndex; + var back , forward, newActiveIndex = null; // check if url isp in history and if it's ahead or behind current page $.each( this.stack, function( i, historyEntry ){ @@ -132,8 +132,8 @@ } }); - // save new page index - this.activeIndex = newActiveIndex ? newActiveIndex : this.activeIndex; + // save new page index, null check to prevent falsey 0 result + this.activeIndex = newActiveIndex != null ? newActiveIndex : this.activeIndex; if( back ){ opts.isBack(); From a2747915c5383c7a4cf45d7d20e5fbb4da1dd5f7 Mon Sep 17 00:00:00 2001 From: John Bender Date: Wed, 9 Mar 2011 23:27:59 -0800 Subject: [PATCH 10/83] corrected issue with setting forward and back values for changepage closure --- js/jquery.mobile.navigation.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 6c64fb4c..c4a7568e 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -118,10 +118,10 @@ }, directHashChange: function(opts){ - var back , forward, newActiveIndex = null; + var back , forward, newActiveIndex; // check if url isp in history and if it's ahead or behind current page - $.each( this.stack, function( i, historyEntry ){ + $.each( urlHistory.stack, function( i, historyEntry ){ //if the url is in the stack, it's a forward or a back if( opts.currentUrl === historyEntry.url ){ @@ -133,7 +133,7 @@ }); // save new page index, null check to prevent falsey 0 result - this.activeIndex = newActiveIndex != null ? newActiveIndex : this.activeIndex; + this.activeIndex = newActiveIndex !== undefined ? newActiveIndex : this.activeIndex; if( back ){ opts.isBack(); @@ -315,13 +315,17 @@ urlHistory.directHashChange({ currentUrl: url, isBack: function(){ + forward = !(back = true); reverse = true; transition = transition || currPage.transition; }, isForward: function(){ + forward = !(back = false); transition = transition || urlHistory.getActive().transition; } }); + + //TODO forward = !back was breaking for some reason } if( toIsObject && to.url ){ From 0aaab77e2bf58b141845e0843e5fe97c47fa80e2 Mon Sep 17 00:00:00 2001 From: John Bender Date: Thu, 10 Mar 2011 00:13:53 -0800 Subject: [PATCH 11/83] test for forward button dialog skipping --- tests/unit/navigation/navigation_core.js | 38 ++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/tests/unit/navigation/navigation_core.js b/tests/unit/navigation/navigation_core.js index 1b82592a..c48ab2ef 100644 --- a/tests/unit/navigation/navigation_core.js +++ b/tests/unit/navigation/navigation_core.js @@ -6,6 +6,7 @@ module('jquery.mobile.navigation.js', { teardown: function(){ $.mobile.changePage = changePageFn; + location.hash = ""; } }); @@ -230,6 +231,8 @@ }); asyncTest( "last entry choosen amongst multiple identical url history stack entries on hash change", function(){ + $.mobile.urlHistory.activeIndex = 0; + $.mobile.urlHistory.stack = []; $.testHelper.openPage("#dup-history-first"); $.testHelper.sequence([ @@ -239,23 +242,54 @@ function(){ $("#dup-history-second a:last").click(); }, function(){ $("#dup-history-dialog .ui-icon-delete").click(); }, function(){ - // third page because the first opened page is manual hash manip + + // third page in the stack to account for first page being hash manipulation same($.mobile.urlHistory.activeIndex, 3, "should be the third page in the stack"); start(); }], 1000); }); - asyncTest( "going back from a page entered from a dialog skips the dialog and goes to the last page", function(){ + asyncTest( "going back from a page entered from a dialog skips the dialog and goes to the previous page", function(){ $.testHelper.openPage("#skip-dialog-first"); $.testHelper.sequence([ + // transition to the dialog function(){ $("#skip-dialog-first a").click(); }, + + // transition to the second page function(){ $("#skip-dialog a").click(); }, + + // transition past the dialog via data-rel=back link on the second page function(){ $("#skip-dialog-second a").click(); }, + + // make sure we're at the first page and not the dialog function(){ same(location.hash, "#skip-dialog-first", "should be the first page in the sequence"); start(); }], 1000); }); + + asyncTest( "going forward from a page entered from a dialog skips the dialog and goes to the next page", function(){ + $.testHelper.openPage("#skip-dialog-first"); + + $.testHelper.sequence([ + // transition to the dialog + function(){ $("#skip-dialog-first a").click(); }, + + // transition to the second page + function(){ $("#skip-dialog a").click(); }, + + // transition to back past the dialog + function(){ window.history.back(); }, + + // transition to the second page past the dialog through history + function(){ window.history.forward(); }, + + // make sure we're on the second page and not the dialog + function(){ + same(location.hash, "#skip-dialog-second", "should be the second page after the dialog"); + start(); + }], 1000); + }); })(jQuery); From fec673dec1815bf10fb8be2abfd05f0db08b8028 Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Thu, 10 Mar 2011 09:39:02 +0000 Subject: [PATCH 12/83] Fix for regular text inputs. Props scottjehl. --- themes/default/jquery.mobile.forms.textinput.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/default/jquery.mobile.forms.textinput.css b/themes/default/jquery.mobile.forms.textinput.css index 27b21b09..c5b2f485 100644 --- a/themes/default/jquery.mobile.forms.textinput.css +++ b/themes/default/jquery.mobile.forms.textinput.css @@ -15,6 +15,8 @@ textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; /* orientation adjustments - incomplete!*/ .min-width-480px label.ui-input-text { vertical-align: top; } .min-width-480px label.ui-input-text { display: inline-block; width: 20%; margin: 0 2% 0 0; } +.min-width-480px input.ui-input-text, .min-width-480px textarea.ui-input-text, .min-width-480px .ui-input-search { width: 60%; display: inline-block; } -.min-width-480px .ui-input-search { width: 50%; } \ No newline at end of file +.min-width-480px .ui-input-search { width: 50%; } +.min-width-480px .ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ } From 19267873934b0df8883058a32f5902f452e4ad39 Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Thu, 10 Mar 2011 10:11:40 +0000 Subject: [PATCH 13/83] Whitespace --- themes/default/jquery.mobile.forms.textinput.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/jquery.mobile.forms.textinput.css b/themes/default/jquery.mobile.forms.textinput.css index c5b2f485..11f3b55a 100644 --- a/themes/default/jquery.mobile.forms.textinput.css +++ b/themes/default/jquery.mobile.forms.textinput.css @@ -16,7 +16,7 @@ textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; .min-width-480px label.ui-input-text { vertical-align: top; } .min-width-480px label.ui-input-text { display: inline-block; width: 20%; margin: 0 2% 0 0; } .min-width-480px input.ui-input-text, -.min-width-480px textarea.ui-input-text, +.min-width-480px textarea.ui-input-text, .min-width-480px .ui-input-search { width: 60%; display: inline-block; } .min-width-480px .ui-input-search { width: 50%; } .min-width-480px .ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ } From 47b26d96288fa9ef25bc49e7ac9d93d666bb19cf Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Thu, 10 Mar 2011 10:16:42 +0000 Subject: [PATCH 14/83] Whitespace. Again. --- themes/default/jquery.mobile.forms.textinput.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.forms.textinput.css b/themes/default/jquery.mobile.forms.textinput.css index 11f3b55a..cac2b289 100644 --- a/themes/default/jquery.mobile.forms.textinput.css +++ b/themes/default/jquery.mobile.forms.textinput.css @@ -15,8 +15,8 @@ textarea.ui-input-text { height: 50px; -webkit-transition: height 200ms linear; /* orientation adjustments - incomplete!*/ .min-width-480px label.ui-input-text { vertical-align: top; } .min-width-480px label.ui-input-text { display: inline-block; width: 20%; margin: 0 2% 0 0; } -.min-width-480px input.ui-input-text, -.min-width-480px textarea.ui-input-text, +.min-width-480px input.ui-input-text, +.min-width-480px textarea.ui-input-text, .min-width-480px .ui-input-search { width: 60%; display: inline-block; } .min-width-480px .ui-input-search { width: 50%; } .min-width-480px .ui-input-search input.ui-input-text { width: 98%; /*echos rule from above*/ } From 183ec771d2d8a015506cdc09f2b460f40cce7e63 Mon Sep 17 00:00:00 2001 From: toddparker Date: Sat, 12 Mar 2011 16:24:48 -0500 Subject: [PATCH 15/83] Fixed -msfilter: css rules to use the correct ms-filter: syntax. Not an issue with valencia, only the default theme. Closes #1020 --- themes/default/jquery.mobile.theme.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/default/jquery.mobile.theme.css b/themes/default/jquery.mobile.theme.css index eea445fb..e1b2c3cb 100755 --- a/themes/default/jquery.mobile.theme.css +++ b/themes/default/jquery.mobile.theme.css @@ -21,7 +21,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #3c3c3c), color-stop(1, #111111)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#3c3c3c', EndColorStr='#111111')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#3c3c3c', EndColorStr='#111111')"; } .ui-bar-a, .ui-bar-a input, @@ -352,7 +352,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #eeeeee), color-stop(1, #fdfdfd)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#fdfdfd')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#fdfdfd')"; } .ui-btn-down-c a.ui-link-inherit { color: #2F3E46; @@ -439,7 +439,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #fdfdfd), color-stop(1, #eeeeee)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd', EndColorStr='#eeeeee')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd', EndColorStr='#eeeeee')"; } .ui-btn-hover-d a.ui-link-inherit { color: #222; @@ -456,7 +456,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #eeeeee), color-stop(1, #ffffff)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#ffffff')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#ffffff')"; } .ui-btn-down-d a.ui-link-inherit { border: 1px solid #808080; @@ -470,7 +470,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #cccccc), color-stop(1, #eeeeee)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#eeeeee')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#eeeeee')"; } .ui-btn-up-d, .ui-btn-hover-d, @@ -493,7 +493,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #fceda7), color-stop(1, #fadb4e)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fceda7', EndColorStr='#fadb4e')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fceda7', EndColorStr='#fadb4e')"; } .ui-bar-e, .ui-bar-e input, @@ -520,7 +520,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #fff), color-stop(1, #faeb9e)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#faeb9e')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#faeb9e')"; } .ui-body-e, .ui-body-e input, @@ -569,7 +569,7 @@ background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #fcf0b5), color-stop(1, #fbe26f)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fcf0b5', EndColorStr='#fbe26f')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fcf0b5', EndColorStr='#fbe26f')"; } .ui-btn-hover-e a.ui-link-inherit { @@ -624,7 +624,7 @@ a.ui-link-inherit { background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, #85bae4), color-stop(1, #5393c5)); - -msfilter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#85bae4', EndColorStr='#5393c5')"; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#85bae4', EndColorStr='#5393c5')"; outline: none; } .ui-btn-active a.ui-link-inherit { From f555a27e341b0d6041ef4ebea1c6500b06aca069 Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 13:57:46 -0800 Subject: [PATCH 16/83] fix for protocol and host included as params in path.clean --- js/jquery.mobile.navigation.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index c4a7568e..40803695 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -47,7 +47,9 @@ //return a url path with the window's location protocol/hostname removed clean: function( url ){ - return url.replace( location.protocol + "//" + location.host, ""); + // Replace the protocol and host only once at the beginning of the path to avoid + // problems when it's included as a part of a param + return url.replace(new RegExp("^" + location.protocol + "//" + location.host), ""); }, //just return the url without an initial # From 1911dba7d7f9e1262eeb13095dd67567655a61b7 Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 14:07:18 -0800 Subject: [PATCH 17/83] small refactor for clean --- js/jquery.mobile.navigation.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 40803695..ee8dbc27 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -47,9 +47,10 @@ //return a url path with the window's location protocol/hostname removed clean: function( url ){ - // Replace the protocol and host only once at the beginning of the path to avoid + // Replace the protocol and host only once at the beginning of the url to avoid // problems when it's included as a part of a param - return url.replace(new RegExp("^" + location.protocol + "//" + location.host), ""); + var leadingUrlRootRegex = new RegExp("^" + location.protocol + "//" + location.host); + return url.replace(leadingUrlRootRegex, ""); }, //just return the url without an initial # From 129b5866662181ec4f418dd1f57e60f44e3c9070 Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 14:08:12 -0800 Subject: [PATCH 18/83] tests for url root in params / path.clean Fixes #1039 --- tests/unit/navigation/navigation_core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/navigation/navigation_core.js b/tests/unit/navigation/navigation_core.js index c48ab2ef..032d7c24 100644 --- a/tests/unit/navigation/navigation_core.js +++ b/tests/unit/navigation/navigation_core.js @@ -86,11 +86,13 @@ var localroot = location.href.split("/").slice(0, 3).join("/"), remoteroot = "http://google.com/", fakepath = "foo/bar/baz.html", + pathWithParam = localroot + "/bar?baz=" + localroot, localpath = localroot + fakepath, remotepath = remoteroot + fakepath; same( $.mobile.path.clean( localpath ), fakepath, "removes location protocol, host, port from same-domain path"); same( $.mobile.path.clean( remotepath ), remotepath, "does nothing to an external domain path"); + same( $.mobile.path.clean( pathWithParam ), "/bar?baz=" + localroot, "doesn't remove params with localroot value"); }); test( "path.stripHash is working properly", function(){ @@ -242,7 +244,7 @@ function(){ $("#dup-history-second a:last").click(); }, function(){ $("#dup-history-dialog .ui-icon-delete").click(); }, function(){ - + // third page in the stack to account for first page being hash manipulation same($.mobile.urlHistory.activeIndex, 3, "should be the third page in the stack"); start(); From e3000e2decde5ba795584678f26755a42663bd3c Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 22:52:44 -0800 Subject: [PATCH 19/83] added failing test for on screen custom select menu rendering --- tests/unit/select/index.html | 21 +++++++++++++++++++++ tests/unit/select/select_core.js | 21 +++++++++++++++++++++ tests/unit/select/select_events.js | 4 ++-- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 tests/unit/select/select_core.js diff --git a/tests/unit/select/index.html b/tests/unit/select/index.html index 7a052285..7a9d75b2 100644 --- a/tests/unit/select/index.html +++ b/tests/unit/select/index.html @@ -14,6 +14,7 @@ + @@ -106,5 +107,25 @@ + +
+ + + +
+ diff --git a/tests/unit/select/select_core.js b/tests/unit/select/select_core.js new file mode 100644 index 00000000..7af1a850 --- /dev/null +++ b/tests/unit/select/select_core.js @@ -0,0 +1,21 @@ +/* + * mobile select unit tests + */ + +(function($){ + var libName = "jquery.mobile.forms.select.js"; + + module(libName); + + asyncTest( "custom select menu always renders screen from the left", function(){ + expect( 2 ); + var select = $("ul#select-offscreen-menu"); + + $('#select-offscreen-container a').trigger($.support.touch ? "touchend" : "mouseup"); + + setTimeout(function(){ + ok(select.offset().left >= 30); + start(); + }, 1000); + }); +})(jQuery); \ No newline at end of file diff --git a/tests/unit/select/select_events.js b/tests/unit/select/select_events.js index fdcc2ee6..5de5d7be 100644 --- a/tests/unit/select/select_events.js +++ b/tests/unit/select/select_events.js @@ -45,7 +45,7 @@ stop(); }); - + test( "selects marked with data-native-menu=true should use a div as their button", function(){ same($("#select-choice-native-container div.ui-btn").length, 1); }); @@ -53,7 +53,7 @@ test( "selects marked with data-native-menu=true should not have a custom menu", function(){ same($("#select-choice-native-container ul").length, 0); }); - + test( "selects marked with data-native-menu=true should sit inside the button", function(){ same($("#select-choice-native-container div.ui-btn select").length, 1); }); From 648be47a0760b0387182401493384104a31f1ea9 Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 22:55:48 -0800 Subject: [PATCH 20/83] reset location hash in select menu tests --- tests/unit/select/select_core.js | 7 +++++-- tests/unit/select/select_events.js | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/unit/select/select_core.js b/tests/unit/select/select_core.js index 7af1a850..a21b4993 100644 --- a/tests/unit/select/select_core.js +++ b/tests/unit/select/select_core.js @@ -5,10 +5,13 @@ (function($){ var libName = "jquery.mobile.forms.select.js"; - module(libName); + module(libName, { + teardown: function(){ location.hash = ""; } + }); + asyncTest( "custom select menu always renders screen from the left", function(){ - expect( 2 ); + expect( 1 ); var select = $("ul#select-offscreen-menu"); $('#select-offscreen-container a').trigger($.support.touch ? "touchend" : "mouseup"); diff --git a/tests/unit/select/select_events.js b/tests/unit/select/select_events.js index 5de5d7be..75f6eca6 100644 --- a/tests/unit/select/select_events.js +++ b/tests/unit/select/select_events.js @@ -6,7 +6,9 @@ var mouseUpTouchEnd = $.support.touch ? "touchend" : "mouseup", libName = "jquery.mobile.forms.select.js"; - module(libName); + module(libName, { + teardown: function(){ location.hash = ""; } + }); test( "a large select menu should come up in a dialog many times", function(){ var menu, select = $("#select-choice-many-container a"); From bc70fedb20cadc0a399924fa602722fa114d35ff Mon Sep 17 00:00:00 2001 From: John Bender Date: Sat, 12 Mar 2011 22:56:36 -0800 Subject: [PATCH 21/83] select whitespace cleanup --- js/jquery.mobile.forms.select.js | 96 ++++++++++++++++---------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 0b115e9b..7c225023 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -29,9 +29,9 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { select = this.element .wrap( "
" ), - - selectID = select.attr( "id" ), - + + selectID = select.attr( "id" ), + label = $( "label[for="+ selectID +"]" ).addClass( "ui-select" ), button = ( self.options.nativeMenu ? $( "
" ) : $( "", { @@ -52,31 +52,31 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { shadow: o.shadow, iconshadow: o.iconshadow }), - + //multi select or not isMultiple = self.isMultiple = select[0].multiple; - + //Opera does not properly support opacity on select elements //In Mini, it hides the element, but not its text //On the desktop,it seems to do the opposite //for these reasons, using the nativeMenu option results in a full native select in Opera if( o.nativeMenu && window.opera && window.opera.version ){ select.addClass( "ui-select-nativeonly" ); - } - - //vars for non-native menus - if( !o.nativeMenu ){ + } + + //vars for non-native menus + if( !o.nativeMenu ){ var options = select.find("option"), - + buttonId = selectID + "-button", - + menuId = selectID + "-menu", - + thisPage = select.closest( ".ui-page" ), - + //button theme theme = /ui-btn-up-([a-z])/.exec( button.attr("class") )[1], - + menuPage = $( "
" + "
" + "
" + label.text() + "
"+ @@ -85,17 +85,17 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { "
" ) .appendTo( $.mobile.pageContainer ) .page(), - + menuPageContent = menuPage.find( ".ui-content" ), - + menuPageClose = menuPage.find( ".ui-header a" ), - + screen = $( "
", {"class": "ui-selectmenu-screen ui-screen-hidden"}) .appendTo( thisPage ), - + listbox = $( "
", { "class": "ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-" + o.overlayTheme } ) .insertAfter(screen), - + list = $( " From 0f9eb85240a82a31aacdd4169549920c628aee94 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:59:51 -0400 Subject: [PATCH 25/83] removed a TODO about changing the changePage function's arg structure. We can revisit this again if it ends up causing problems, but for now, it's not hurting anything and people are already using it. Fixes #1152 --- js/jquery.mobile.navigation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index ee8dbc27..3adca12c 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -279,7 +279,6 @@ $.mobile.urlHistory = urlHistory; // changepage function - // TODO : consider moving args to an object hash $.mobile.changePage = function( to, transition, reverse, changeHash, fromHashChange ){ //from is always the currently viewed page var toIsArray = $.type(to) === "array", From 9e29410d0aa674d96cfdcabff35b16cbd092bf20 Mon Sep 17 00:00:00 2001 From: toddparker Date: Sun, 13 Mar 2011 22:16:13 -0400 Subject: [PATCH 26/83] Added documentation to explain how to use the refresh method on many form elements when you manipulate them. This will hopefully help a lot of people who were confused by this! --- docs/forms/docs-forms.html | 38 +++++++++++++++++++++++++++++- docs/forms/forms-checkboxes.html | 8 +++++++ docs/forms/forms-radiobuttons.html | 12 ++++++++++ docs/forms/forms-selects.html | 13 ++++++++++ docs/forms/forms-slider.html | 8 +++++++ docs/forms/forms-switch.html | 9 +++++++ 6 files changed, 87 insertions(+), 1 deletion(-) diff --git a/docs/forms/docs-forms.html b/docs/forms/docs-forms.html index e1e57f84..db68b67d 100755 --- a/docs/forms/docs-forms.html +++ b/docs/forms/docs-forms.html @@ -51,7 +51,7 @@ -

Or, if you'd like to prevent auto-initialization without adding attributes to your markup, you can customize the selector that is used for preventing auto-initialization by setting the page plugin's keepNative option (which defaults to "[data-role="none"]. Be sure to configure this option inside an event handler bound to the mobileinit event, so that it applies to the first page as well as subsequent pages that are loaded.

+

Or, if you'd like to prevent auto-initialization without adding attributes to your markup, you can customize the selector that is used for preventing auto-initialization by setting the page plugin's keepNative option (which defaults to [data-role="none"]. Be sure to configure this option inside an event handler bound to the mobileinit event, so that it applies to the first page as well as subsequent pages that are loaded.


 $(document).bind('mobileinit',function(){
 	$.mobile.page.prototype.options.keepNative = "select, input.foo, textarea.bar";
@@ -76,7 +76,43 @@ $(document).bind('mobileinit',function(){
 </div>
 
+

Refreshing form elements

+ +

Every form control -- where applicable -- has a refresh method. Here are some examples:

+

Checkboxes:

+ + +$("input[type='checkbox']").attr("checked",true).checkboxradio("refresh"); + + +

Radios:

+ +$("input[type='radio']").attr("checked",true).checkboxradio("refresh"); + + +

Selects:

+
+var myselect = $("select#foo");
+myselect[0].selectedIndex = 3;
+myselect.selectmenu("refresh");
+
+ +

Sliders:

+ +$("input[type=range]").val(60).slider("refresh"); + + +

Flip switches (they use slider):

+ +
+var myswitch = $("select#bar");
+myswitch[0].selectedIndex = 1;
+myswitch .slider("refresh");
+
+ +

We're considering adding a refresh method to forms to let the framework refresh all the individual elemnts withing but that is a future enhancement.

+
diff --git a/docs/forms/forms-checkboxes.html b/docs/forms/forms-checkboxes.html index d5507ca3..5e18968a 100755 --- a/docs/forms/forms-checkboxes.html +++ b/docs/forms/forms-checkboxes.html @@ -97,6 +97,14 @@
+

Refreshing a checkbox

+ +

If you manipulate a radiobutton via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:

+ +$("input[type='checkbox']").attr("checked",true).checkboxradio("refresh"); + + + diff --git a/docs/forms/forms-radiobuttons.html b/docs/forms/forms-radiobuttons.html index 8592768b..a0bfe69d 100755 --- a/docs/forms/forms-radiobuttons.html +++ b/docs/forms/forms-radiobuttons.html @@ -113,6 +113,18 @@
--> + + +

Refreshing a radio button

+ +

If you manipulate a radio button via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:

+ + + +$("input[type='radio']").attr("checked",true).checkboxradio("refresh"); + + + diff --git a/docs/forms/forms-selects.html b/docs/forms/forms-selects.html index 67f1754c..55c1d4f5 100644 --- a/docs/forms/forms-selects.html +++ b/docs/forms/forms-selects.html @@ -369,6 +369,19 @@ $.mobile.selectmenu.prototype.options.hidePlaceholderMenuItems = false;
+ + + +

Refreshing a select

+ +

If you manipulate a select via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:

+ +
+var myselect = $("select#foo");
+myselect[0].selectedIndex = 3;
+myselect.selectmenu("refresh");
+
+ diff --git a/docs/forms/forms-slider.html b/docs/forms/forms-slider.html index 56649949..ee58c6e1 100755 --- a/docs/forms/forms-slider.html +++ b/docs/forms/forms-slider.html @@ -50,6 +50,14 @@

Sliders also respond to the keyboards shortcuts. To increase the current value the Right Arrow, Up Arrow, and Page Up keys can be used. To decrease the current value the Left Arrow, Down Arrow, and Page Down keys can be used. To move the slider to its minimum or maximum value use the Home and End keys respectively.

+

Refreshing a slider

+ +

If you manipulate a slider via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:

+ + +$("input[type=range]").val(60).slider("refresh"); + + diff --git a/docs/forms/forms-switch.html b/docs/forms/forms-switch.html index d2e17fce..850ba58e 100755 --- a/docs/forms/forms-switch.html +++ b/docs/forms/forms-switch.html @@ -45,6 +45,15 @@ +

Refreshing a flip switch

+ +

If you manipulate a flip switch via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:

+ +
+var myswitch = $("select#bar");
+myswitch[0].selectedIndex = 1;
+myswitch .slider("refresh");
+
From 1370d5a48e3ad6645f5b236c5c89eaaa89a83f71 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 1 Feb 2011 11:54:54 -0500 Subject: [PATCH 27/83] add IE version check to gradeA qualifier. --- js/jquery.mobile.core.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index a26fec7e..ffc2e532 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -52,7 +52,16 @@ //support conditions that must be met in order to proceed gradeA: function(){ - return $.support.mediaquery; + + //non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683 + //allows for inclusion of IE 6+, including Windows Mobile 7 + var ie = (function() { + var v = 3, div = document.createElement('div'), a = div.all || []; + while (div.innerHTML = '', a[0]); + return v > 4 ? v : !v; + }()); + + return $.support.mediaquery || ie && ie >= 6; }, //TODO might be useful upstream in jquery itself ? From 0d9627d54e7787bc79b0f04bcbeddf09f3e864dc Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 18 Feb 2011 15:00:18 -0500 Subject: [PATCH 28/83] Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. --- docs/about/accessibility.html | 3 +- docs/about/features.html | 3 +- docs/about/index.html | 3 +- docs/about/intro.html | 3 +- docs/about/platforms.html | 3 +- docs/api/events.html | 3 +- docs/api/globalconfig.html | 6 +- docs/api/index.html | 3 +- docs/api/mediahelpers.html | 3 +- docs/api/methods.html | 3 +- docs/api/themes.html | 3 +- docs/buttons/api-buttons.html | 3 +- docs/buttons/buttons-grouped.html | 3 +- docs/buttons/buttons-icons.html | 3 +- docs/buttons/buttons-inline.html | 3 +- docs/buttons/buttons-themes.html | 3 +- docs/buttons/buttons-types.html | 3 +- docs/buttons/index.html | 3 +- docs/content/api-content.html | 3 +- docs/content/content-collapsible.html | 3 +- docs/content/content-grids.html | 3 +- docs/content/content-html.html | 3 +- docs/content/content-themes.html | 3 +- docs/content/index.html | 3 +- docs/forms/api-forms.html | 3 +- docs/forms/docs-forms.html | 3 +- docs/forms/forms-all.html | 3 +- docs/forms/forms-checkboxes.html | 3 +- docs/forms/forms-radiobuttons.html | 3 +- docs/forms/forms-sample-response.php | 3 +- docs/forms/forms-sample.html | 3 +- docs/forms/forms-search.html | 3 +- docs/forms/forms-selects.html | 3 +- docs/forms/forms-slider.html | 3 +- docs/forms/forms-switch.html | 3 +- docs/forms/forms-text.html | 3 +- docs/forms/forms-themes.html | 3 +- docs/forms/index.html | 3 +- docs/forms/plugin-eventsmethods.html | 3 +- docs/index.html | 3 +- docs/lists/api-lists.html | 3 +- docs/lists/docs-lists.html | 3 +- docs/lists/index.html | 3 +- docs/lists/lists-count.html | 3 +- docs/lists/lists-divider.html | 3 +- docs/lists/lists-formatting.html | 3 +- docs/lists/lists-icons.html | 3 +- docs/lists/lists-inset.html | 3 +- docs/lists/lists-nested.html | 3 +- docs/lists/lists-ol.html | 3 +- docs/lists/lists-performance.html | 3 +- docs/lists/lists-readonly.html | 3 +- docs/lists/lists-search.html | 3 +- docs/lists/lists-split-purchase.html | 3 +- docs/lists/lists-split.html | 3 +- docs/lists/lists-themes.html | 3 +- docs/lists/lists-thumbnails.html | 3 +- docs/lists/lists-ul.html | 3 +- docs/pages/api-pages.html | 3 +- docs/pages/dialog-alt.html | 3 +- docs/pages/dialog-buttons.html | 3 +- docs/pages/dialog-success.html | 3 +- docs/pages/dialog.html | 3 +- docs/pages/docs-dialogs.html | 3 +- docs/pages/docs-link-scenarios.html | 3 +- docs/pages/docs-links-urltest/index.html | 3 +- docs/pages/docs-links.html | 3 +- docs/pages/docs-navmodel.html | 3 +- docs/pages/docs-pages.html | 3 +- docs/pages/docs-transitions.html | 3 +- docs/pages/index.html | 3 +- docs/pages/link-formats.html | 3 +- docs/pages/multipage-template.html | 3 +- docs/pages/page-template.html | 3 +- docs/pages/pages-themes.html | 3 +- docs/pages/transition-success.html | 3 +- docs/toolbars/api-bars.html | 3 +- docs/toolbars/bars-fixed.html | 3 +- docs/toolbars/bars-fullscreen.html | 3 +- docs/toolbars/bars-themes.html | 3 +- docs/toolbars/docs-bars.html | 3 +- docs/toolbars/docs-footers.html | 3 +- docs/toolbars/docs-headers.html | 3 +- docs/toolbars/docs-navbar.html | 3 +- docs/toolbars/footer-persist-a.html | 3 +- docs/toolbars/footer-persist-b.html | 3 +- docs/toolbars/footer-persist-c.html | 3 +- docs/toolbars/index.html | 3 +- experiments/api-viewer/docs/add/index.html | 3 +- .../api-viewer/docs/addClass/index.html | 3 +- experiments/api-viewer/docs/after/index.html | 3 +- .../api-viewer/docs/ajaxComplete/index.html | 3 +- .../api-viewer/docs/ajaxError/index.html | 3 +- .../api-viewer/docs/ajaxSend/index.html | 3 +- .../api-viewer/docs/ajaxStart/index.html | 3 +- .../api-viewer/docs/ajaxStop/index.html | 3 +- .../api-viewer/docs/ajaxSuccess/index.html | 3 +- .../api-viewer/docs/all-selector/index.html | 3 +- .../api-viewer/docs/andSelf/index.html | 3 +- .../api-viewer/docs/animate/index.html | 3 +- .../docs/animated-selector/index.html | 3 +- experiments/api-viewer/docs/append/index.html | 3 +- .../api-viewer/docs/appendTo/index.html | 3 +- experiments/api-viewer/docs/attr/index.html | 3 +- .../index.html | 3 +- .../attribute-contains-selector/index.html | 3 +- .../index.html | 3 +- .../attribute-ends-with-selector/index.html | 3 +- .../docs/attribute-equals-selector/index.html | 3 +- .../attribute-not-equal-selector/index.html | 3 +- .../attribute-starts-with-selector/index.html | 3 +- experiments/api-viewer/docs/before/index.html | 3 +- experiments/api-viewer/docs/bind/index.html | 3 +- experiments/api-viewer/docs/blur/index.html | 3 +- .../docs/button-selector/index.html | 3 +- experiments/api-viewer/docs/change/index.html | 3 +- .../docs/checkbox-selector/index.html | 3 +- .../docs/checked-selector/index.html | 3 +- .../api-viewer/docs/child-selector/index.html | 3 +- .../api-viewer/docs/children/index.html | 3 +- .../api-viewer/docs/class-selector/index.html | 3 +- .../api-viewer/docs/clearQueue/index.html | 3 +- experiments/api-viewer/docs/click/index.html | 3 +- experiments/api-viewer/docs/clone/index.html | 3 +- .../api-viewer/docs/closest/index.html | 3 +- .../docs/contains-selector/index.html | 3 +- .../api-viewer/docs/contents/index.html | 3 +- .../api-viewer/docs/context/index.html | 3 +- experiments/api-viewer/docs/css/index.html | 3 +- experiments/api-viewer/docs/data/index.html | 3 +- .../api-viewer/docs/dblclick/index.html | 3 +- experiments/api-viewer/docs/delay/index.html | 3 +- .../api-viewer/docs/delegate/index.html | 3 +- .../api-viewer/docs/dequeue/index.html | 3 +- .../docs/descendant-selector/index.html | 3 +- experiments/api-viewer/docs/detach/index.html | 3 +- experiments/api-viewer/docs/die/index.html | 3 +- .../docs/disabled-selector/index.html | 3 +- experiments/api-viewer/docs/each/index.html | 3 +- .../docs/element-selector/index.html | 3 +- .../api-viewer/docs/empty-selector/index.html | 3 +- experiments/api-viewer/docs/empty/index.html | 3 +- .../docs/enabled-selector/index.html | 3 +- experiments/api-viewer/docs/end/index.html | 3 +- .../api-viewer/docs/eq-selector/index.html | 3 +- experiments/api-viewer/docs/eq/index.html | 3 +- experiments/api-viewer/docs/error/index.html | 3 +- .../api-viewer/docs/even-selector/index.html | 3 +- .../docs/event.currentTarget/index.html | 3 +- .../api-viewer/docs/event.data/index.html | 3 +- .../docs/event.isDefaultPrevented/index.html | 3 +- .../index.html | 3 +- .../event.isPropagationStopped/index.html | 3 +- .../api-viewer/docs/event.pageX/index.html | 3 +- .../api-viewer/docs/event.pageY/index.html | 3 +- .../docs/event.preventDefault/index.html | 3 +- .../docs/event.relatedTarget/index.html | 3 +- .../api-viewer/docs/event.result/index.html | 3 +- .../event.stopImmediatePropagation/index.html | 3 +- .../docs/event.stopPropagation/index.html | 3 +- .../api-viewer/docs/event.target/index.html | 3 +- .../docs/event.timeStamp/index.html | 3 +- .../api-viewer/docs/event.type/index.html | 3 +- .../api-viewer/docs/event.which/index.html | 3 +- experiments/api-viewer/docs/fadeIn/index.html | 3 +- .../api-viewer/docs/fadeOut/index.html | 3 +- experiments/api-viewer/docs/fadeTo/index.html | 3 +- .../api-viewer/docs/file-selector/index.html | 3 +- experiments/api-viewer/docs/filter/index.html | 3 +- experiments/api-viewer/docs/find/index.html | 3 +- .../docs/first-child-selector/index.html | 3 +- .../api-viewer/docs/first-selector/index.html | 3 +- experiments/api-viewer/docs/first/index.html | 3 +- experiments/api-viewer/docs/focus/index.html | 3 +- .../api-viewer/docs/focusin/index.html | 3 +- .../api-viewer/docs/focusout/index.html | 3 +- experiments/api-viewer/docs/get/index.html | 3 +- .../api-viewer/docs/gt-selector/index.html | 3 +- .../docs/has-attribute-selector/index.html | 3 +- .../api-viewer/docs/has-selector/index.html | 3 +- experiments/api-viewer/docs/has/index.html | 3 +- .../api-viewer/docs/hasClass/index.html | 3 +- .../docs/header-selector/index.html | 3 +- experiments/api-viewer/docs/height/index.html | 3 +- .../docs/hidden-selector/index.html | 3 +- experiments/api-viewer/docs/hide/index.html | 3 +- experiments/api-viewer/docs/hover/index.html | 3 +- experiments/api-viewer/docs/html/index.html | 3 +- .../api-viewer/docs/id-selector/index.html | 3 +- .../api-viewer/docs/image-selector/index.html | 3 +- experiments/api-viewer/docs/index/index.html | 3 +- .../api-viewer/docs/innerHeight/index.html | 3 +- .../api-viewer/docs/innerWidth/index.html | 3 +- .../api-viewer/docs/input-selector/index.html | 3 +- .../api-viewer/docs/insertAfter/index.html | 3 +- .../api-viewer/docs/insertBefore/index.html | 3 +- experiments/api-viewer/docs/is/index.html | 3 +- .../api-viewer/docs/jQuery.ajax/index.html | 3 +- .../docs/jQuery.ajaxSetup/index.html | 3 +- .../docs/jQuery.boxModel/index.html | 3 +- .../api-viewer/docs/jQuery.browser/index.html | 3 +- .../docs/jQuery.contains/index.html | 3 +- .../api-viewer/docs/jQuery.data/index.html | 3 +- .../api-viewer/docs/jQuery.dequeue/index.html | 3 +- .../api-viewer/docs/jQuery.each/index.html | 3 +- .../api-viewer/docs/jQuery.error/index.html | 3 +- .../api-viewer/docs/jQuery.extend/index.html | 3 +- .../api-viewer/docs/jQuery.fx.off/index.html | 3 +- .../api-viewer/docs/jQuery.get/index.html | 3 +- .../api-viewer/docs/jQuery.getJSON/index.html | 3 +- .../docs/jQuery.getScript/index.html | 3 +- .../docs/jQuery.globalEval/index.html | 3 +- .../api-viewer/docs/jQuery.grep/index.html | 3 +- .../api-viewer/docs/jQuery.inArray/index.html | 3 +- .../api-viewer/docs/jQuery.isArray/index.html | 3 +- .../docs/jQuery.isEmptyObject/index.html | 3 +- .../docs/jQuery.isFunction/index.html | 3 +- .../docs/jQuery.isPlainObject/index.html | 3 +- .../docs/jQuery.isXMLDoc/index.html | 3 +- .../docs/jQuery.makeArray/index.html | 3 +- .../api-viewer/docs/jQuery.map/index.html | 3 +- .../api-viewer/docs/jQuery.merge/index.html | 3 +- .../docs/jQuery.noConflict/index.html | 3 +- .../api-viewer/docs/jQuery.noop/index.html | 3 +- .../api-viewer/docs/jQuery.param/index.html | 3 +- .../docs/jQuery.parseJSON/index.html | 3 +- .../api-viewer/docs/jQuery.post/index.html | 3 +- .../api-viewer/docs/jQuery.proxy/index.html | 3 +- .../docs/jQuery.pushStack/index.html | 3 +- .../api-viewer/docs/jQuery.queue/index.html | 3 +- .../docs/jQuery.removeData/index.html | 3 +- .../api-viewer/docs/jQuery.support/index.html | 3 +- .../api-viewer/docs/jQuery.trim/index.html | 3 +- .../api-viewer/docs/jQuery.unique/index.html | 3 +- experiments/api-viewer/docs/jQuery/index.html | 3 +- .../api-viewer/docs/keydown/index.html | 3 +- .../api-viewer/docs/keypress/index.html | 3 +- experiments/api-viewer/docs/keyup/index.html | 3 +- .../docs/last-child-selector/index.html | 3 +- .../api-viewer/docs/last-selector/index.html | 3 +- experiments/api-viewer/docs/last/index.html | 3 +- experiments/api-viewer/docs/length/index.html | 3 +- experiments/api-viewer/docs/live/index.html | 3 +- .../api-viewer/docs/load-event/index.html | 3 +- experiments/api-viewer/docs/load/index.html | 3 +- .../api-viewer/docs/lt-selector/index.html | 3 +- experiments/api-viewer/docs/map/index.html | 3 +- .../api-viewer/docs/mousedown/index.html | 3 +- .../api-viewer/docs/mouseenter/index.html | 3 +- .../api-viewer/docs/mouseleave/index.html | 3 +- .../api-viewer/docs/mousemove/index.html | 3 +- .../api-viewer/docs/mouseout/index.html | 3 +- .../api-viewer/docs/mouseover/index.html | 3 +- .../api-viewer/docs/mouseup/index.html | 3 +- .../multiple-attribute-selector/index.html | 3 +- .../docs/multiple-selector/index.html | 3 +- .../docs/next-adjacent-Selector/index.html | 3 +- .../docs/next-siblings-selector/index.html | 3 +- experiments/api-viewer/docs/next/index.html | 3 +- .../api-viewer/docs/nextAll/index.html | 3 +- .../api-viewer/docs/nextUntil/index.html | 3 +- .../api-viewer/docs/not-selector/index.html | 3 +- experiments/api-viewer/docs/not/index.html | 3 +- .../docs/nth-child-selector/index.html | 3 +- .../api-viewer/docs/odd-selector/index.html | 3 +- experiments/api-viewer/docs/offset/index.html | 3 +- .../api-viewer/docs/offsetParent/index.html | 3 +- experiments/api-viewer/docs/one/index.html | 3 +- .../docs/only-child-selector/index.html | 3 +- .../api-viewer/docs/outerHeight/index.html | 3 +- .../api-viewer/docs/outerWidth/index.html | 3 +- .../docs/parent-selector/index.html | 3 +- experiments/api-viewer/docs/parent/index.html | 3 +- .../api-viewer/docs/parents/index.html | 3 +- .../api-viewer/docs/parentsUntil/index.html | 3 +- .../docs/password-selector/index.html | 3 +- .../api-viewer/docs/position/index.html | 3 +- .../api-viewer/docs/prepend/index.html | 3 +- .../api-viewer/docs/prependTo/index.html | 3 +- experiments/api-viewer/docs/prev/index.html | 3 +- .../api-viewer/docs/prevAll/index.html | 3 +- .../api-viewer/docs/prevUntil/index.html | 3 +- experiments/api-viewer/docs/queue/index.html | 3 +- .../api-viewer/docs/radio-selector/index.html | 3 +- experiments/api-viewer/docs/ready/index.html | 3 +- experiments/api-viewer/docs/remove/index.html | 3 +- .../api-viewer/docs/removeAttr/index.html | 3 +- .../api-viewer/docs/removeClass/index.html | 3 +- .../api-viewer/docs/removeData/index.html | 3 +- .../api-viewer/docs/replaceAll/index.html | 3 +- .../api-viewer/docs/replaceWith/index.html | 3 +- .../api-viewer/docs/reset-selector/index.html | 3 +- experiments/api-viewer/docs/resize/index.html | 3 +- experiments/api-viewer/docs/scroll/index.html | 3 +- .../api-viewer/docs/scrollLeft/index.html | 3 +- .../api-viewer/docs/scrollTop/index.html | 3 +- experiments/api-viewer/docs/select/index.html | 3 +- .../docs/selected-selector/index.html | 3 +- .../api-viewer/docs/selector/index.html | 3 +- .../api-viewer/docs/serialize/index.html | 3 +- .../api-viewer/docs/serializeArray/index.html | 3 +- experiments/api-viewer/docs/show/index.html | 3 +- .../api-viewer/docs/siblings/index.html | 3 +- experiments/api-viewer/docs/size/index.html | 3 +- experiments/api-viewer/docs/slice/index.html | 3 +- .../api-viewer/docs/slideDown/index.html | 3 +- .../api-viewer/docs/slideToggle/index.html | 3 +- .../api-viewer/docs/slideUp/index.html | 3 +- experiments/api-viewer/docs/stop/index.html | 3 +- .../docs/submit-selector/index.html | 3 +- experiments/api-viewer/docs/submit/index.html | 3 +- .../api-viewer/docs/text-selector/index.html | 3 +- experiments/api-viewer/docs/text/index.html | 3 +- .../api-viewer/docs/toArray/index.html | 3 +- experiments/api-viewer/docs/toggle/index.html | 3 +- .../api-viewer/docs/toggleClass/index.html | 3 +- .../api-viewer/docs/trigger/index.html | 3 +- .../api-viewer/docs/triggerHandler/index.html | 3 +- experiments/api-viewer/docs/unbind/index.html | 3 +- .../api-viewer/docs/undelegate/index.html | 3 +- experiments/api-viewer/docs/unload/index.html | 3 +- experiments/api-viewer/docs/unwrap/index.html | 3 +- experiments/api-viewer/docs/val/index.html | 3 +- .../docs/visible-selector/index.html | 3 +- experiments/api-viewer/docs/width/index.html | 3 +- experiments/api-viewer/docs/wrap/index.html | 3 +- .../api-viewer/docs/wrapAll/index.html | 3 +- .../api-viewer/docs/wrapInner/index.html | 3 +- experiments/api-viewer/index.html | 3 +- experiments/converter/index.html | 3 +- experiments/google-maps/index.html | 3 +- experiments/google-maps/map.html | 3 +- experiments/navbar-glyphish/index.html | 3 +- experiments/photos/_photo2.html | 3 +- experiments/photos/_photo3.html | 3 +- experiments/photos/_photo4.html | 3 +- experiments/photos/_photo5.html | 3 +- experiments/photos/_photo6.html | 3 +- experiments/photos/index.html | 3 +- experiments/scrollview/index.html | 3 +- experiments/scrollview/lists-divider.html | 3 +- .../scrollview/scrollview-direction.html | 3 +- experiments/scrollview/scrollview-nested.html | 3 +- experiments/scrollview/sv-test-01.html | 3 +- experiments/scrollview/sv-test-02.html | 3 +- experiments/ui-datepicker/index.html | 3 +- experiments/weather/index.php | 3 +- index.html | 3 +- tests/functional/addrbar.html | 3 +- tests/functional/eventlogger.html | 3 +- tests/speed/basic-page.html | 3 +- tests/speed/lists-ul.html | 3 +- tests/unit/core/core.js | 105 ++++++++++++++++++ tests/unit/core/index.html | 3 +- tests/unit/dialog/index.html | 3 +- tests/unit/event/index.html | 3 +- tests/unit/listview/index.html | 3 +- tests/unit/media/index.html | 3 +- tests/unit/navigation/index.html | 3 +- tests/unit/page/index.html | 3 +- tests/unit/select/index.html | 3 +- tests/unit/slider/index.html | 3 +- tests/unit/support/index.html | 3 +- tests/unit/widget/index.html | 3 +- 364 files changed, 831 insertions(+), 366 deletions(-) diff --git a/docs/about/accessibility.html b/docs/about/accessibility.html index b5718a8e..c5bec099 100755 --- a/docs/about/accessibility.html +++ b/docs/about/accessibility.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Intro diff --git a/docs/about/features.html b/docs/about/features.html index 21349ed2..a20603c7 100755 --- a/docs/about/features.html +++ b/docs/about/features.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Intro diff --git a/docs/about/index.html b/docs/about/index.html index da91a925..6d86e417 100755 --- a/docs/about/index.html +++ b/docs/about/index.html @@ -1,7 +1,8 @@ - + + jQuery UI Mobile Framework - Documentation diff --git a/docs/about/intro.html b/docs/about/intro.html index 2add1b62..93a5c8b6 100755 --- a/docs/about/intro.html +++ b/docs/about/intro.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Intro diff --git a/docs/about/platforms.html b/docs/about/platforms.html index 20e21c2f..fa6d5237 100755 --- a/docs/about/platforms.html +++ b/docs/about/platforms.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Intro diff --git a/docs/api/events.html b/docs/api/events.html index 0eaeb4ef..07ab740d 100755 --- a/docs/api/events.html +++ b/docs/api/events.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Events diff --git a/docs/api/globalconfig.html b/docs/api/globalconfig.html index fcd8aa1a..384baaac 100755 --- a/docs/api/globalconfig.html +++ b/docs/api/globalconfig.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Configuring default settings @@ -96,9 +97,6 @@ $(document).bind("mobileinit", function(){
loadingMessage (string, default: "loading"):
Set the text that appears when a page is loading. If set to false, the message will not appear at all.
- -
metaViewportContent (string, default: "width=device-width, minimum-scale=1, maximum-scale=1"):
-
Configure the auto-generated meta viewport tag's content attribute. If false, no meta tag will be appended to the DOM.
gradeA (function that returns a boolean, default: a function returning the value of $.support.mediaquery):
Any support conditions that must be met in order to proceed.
diff --git a/docs/api/index.html b/docs/api/index.html index b703b413..f92db98d 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -1,7 +1,8 @@ - + + jQuery UI Mobile Framework - API diff --git a/docs/api/mediahelpers.html b/docs/api/mediahelpers.html index 82bbaff8..70ecbb07 100755 --- a/docs/api/mediahelpers.html +++ b/docs/api/mediahelpers.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Responsive Layout Helpers diff --git a/docs/api/methods.html b/docs/api/methods.html index 01d71902..d7705d52 100755 --- a/docs/api/methods.html +++ b/docs/api/methods.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Methods diff --git a/docs/api/themes.html b/docs/api/themes.html index 1abd0f54..6daf9e3e 100755 --- a/docs/api/themes.html +++ b/docs/api/themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Static Containers, States diff --git a/docs/buttons/api-buttons.html b/docs/buttons/api-buttons.html index 827b08a6..1658a8c1 100755 --- a/docs/buttons/api-buttons.html +++ b/docs/buttons/api-buttons.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Buttons diff --git a/docs/buttons/buttons-grouped.html b/docs/buttons/buttons-grouped.html index f6295407..98599498 100755 --- a/docs/buttons/buttons-grouped.html +++ b/docs/buttons/buttons-grouped.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Grouped Buttons diff --git a/docs/buttons/buttons-icons.html b/docs/buttons/buttons-icons.html index b349cc0d..492ab8b3 100755 --- a/docs/buttons/buttons-icons.html +++ b/docs/buttons/buttons-icons.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Button icons diff --git a/docs/buttons/buttons-inline.html b/docs/buttons/buttons-inline.html index 13107271..4ea75ac0 100755 --- a/docs/buttons/buttons-inline.html +++ b/docs/buttons/buttons-inline.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Inline buttons diff --git a/docs/buttons/buttons-themes.html b/docs/buttons/buttons-themes.html index 02d06f83..270c3c63 100755 --- a/docs/buttons/buttons-themes.html +++ b/docs/buttons/buttons-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Button Theming diff --git a/docs/buttons/buttons-types.html b/docs/buttons/buttons-types.html index 796321d6..2f032dc1 100755 --- a/docs/buttons/buttons-types.html +++ b/docs/buttons/buttons-types.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Button types diff --git a/docs/buttons/index.html b/docs/buttons/index.html index fc5927c9..5d661948 100755 --- a/docs/buttons/index.html +++ b/docs/buttons/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Buttons diff --git a/docs/content/api-content.html b/docs/content/api-content.html index cb4620ef..a1cc4736 100755 --- a/docs/content/api-content.html +++ b/docs/content/api-content.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/content/content-collapsible.html b/docs/content/content-collapsible.html index d9a8f0f0..3358deb0 100755 --- a/docs/content/content-collapsible.html +++ b/docs/content/content-collapsible.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/content/content-grids.html b/docs/content/content-grids.html index 5ce34d83..ee8d6746 100755 --- a/docs/content/content-grids.html +++ b/docs/content/content-grids.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/content/content-html.html b/docs/content/content-html.html index e02d996a..4668e36a 100755 --- a/docs/content/content-html.html +++ b/docs/content/content-html.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/content/content-themes.html b/docs/content/content-themes.html index 0e076d33..519177c9 100755 --- a/docs/content/content-themes.html +++ b/docs/content/content-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/content/index.html b/docs/content/index.html index a4da9104..7c647c11 100755 --- a/docs/content/index.html +++ b/docs/content/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Content formatting diff --git a/docs/forms/api-forms.html b/docs/forms/api-forms.html index a3f5ed98..687500cc 100755 --- a/docs/forms/api-forms.html +++ b/docs/forms/api-forms.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/docs-forms.html b/docs/forms/docs-forms.html index db68b67d..69bcd761 100755 --- a/docs/forms/docs-forms.html +++ b/docs/forms/docs-forms.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-all.html b/docs/forms/forms-all.html index 48e7e36b..b8460ce4 100755 --- a/docs/forms/forms-all.html +++ b/docs/forms/forms-all.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-checkboxes.html b/docs/forms/forms-checkboxes.html index 5e18968a..b1ad8409 100755 --- a/docs/forms/forms-checkboxes.html +++ b/docs/forms/forms-checkboxes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-radiobuttons.html b/docs/forms/forms-radiobuttons.html index a0bfe69d..f6412595 100755 --- a/docs/forms/forms-radiobuttons.html +++ b/docs/forms/forms-radiobuttons.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-sample-response.php b/docs/forms/forms-sample-response.php index f39d212e..ddeb2a67 100755 --- a/docs/forms/forms-sample-response.php +++ b/docs/forms/forms-sample-response.php @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-sample.html b/docs/forms/forms-sample.html index c57c4492..93264025 100755 --- a/docs/forms/forms-sample.html +++ b/docs/forms/forms-sample.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-search.html b/docs/forms/forms-search.html index 290dde7f..a1fdb472 100755 --- a/docs/forms/forms-search.html +++ b/docs/forms/forms-search.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-selects.html b/docs/forms/forms-selects.html index 55c1d4f5..c2660790 100644 --- a/docs/forms/forms-selects.html +++ b/docs/forms/forms-selects.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-slider.html b/docs/forms/forms-slider.html index ee58c6e1..9fb00f14 100755 --- a/docs/forms/forms-slider.html +++ b/docs/forms/forms-slider.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-switch.html b/docs/forms/forms-switch.html index 850ba58e..aaab20cf 100755 --- a/docs/forms/forms-switch.html +++ b/docs/forms/forms-switch.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-text.html b/docs/forms/forms-text.html index 9f3d086b..eef99272 100755 --- a/docs/forms/forms-text.html +++ b/docs/forms/forms-text.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/forms-themes.html b/docs/forms/forms-themes.html index 6f277152..42992d4d 100755 --- a/docs/forms/forms-themes.html +++ b/docs/forms/forms-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/index.html b/docs/forms/index.html index 42024885..5becbdfd 100755 --- a/docs/forms/index.html +++ b/docs/forms/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Forms diff --git a/docs/forms/plugin-eventsmethods.html b/docs/forms/plugin-eventsmethods.html index d19d61c5..bde98568 100755 --- a/docs/forms/plugin-eventsmethods.html +++ b/docs/forms/plugin-eventsmethods.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Form Plugin Methods diff --git a/docs/index.html b/docs/index.html index ffbed5e3..215ec130 100755 --- a/docs/index.html +++ b/docs/index.html @@ -1,7 +1,8 @@ - + + jQuery UI Mobile Framework - Documentation diff --git a/docs/lists/api-lists.html b/docs/lists/api-lists.html index abd06534..358f307c 100755 --- a/docs/lists/api-lists.html +++ b/docs/lists/api-lists.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/docs-lists.html b/docs/lists/docs-lists.html index 53513c48..69eefef5 100755 --- a/docs/lists/docs-lists.html +++ b/docs/lists/docs-lists.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/index.html b/docs/lists/index.html index 2f46b847..e27d3b9a 100755 --- a/docs/lists/index.html +++ b/docs/lists/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-count.html b/docs/lists/lists-count.html index f7ba3833..64d84926 100755 --- a/docs/lists/lists-count.html +++ b/docs/lists/lists-count.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-divider.html b/docs/lists/lists-divider.html index d1dfdbeb..de4aa874 100755 --- a/docs/lists/lists-divider.html +++ b/docs/lists/lists-divider.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-formatting.html b/docs/lists/lists-formatting.html index 4ad0668f..561fe2fa 100755 --- a/docs/lists/lists-formatting.html +++ b/docs/lists/lists-formatting.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-icons.html b/docs/lists/lists-icons.html index c2cdedb0..230209a2 100755 --- a/docs/lists/lists-icons.html +++ b/docs/lists/lists-icons.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-inset.html b/docs/lists/lists-inset.html index 594518ef..c2207619 100755 --- a/docs/lists/lists-inset.html +++ b/docs/lists/lists-inset.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-nested.html b/docs/lists/lists-nested.html index 3bee54ac..a7123712 100755 --- a/docs/lists/lists-nested.html +++ b/docs/lists/lists-nested.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-ol.html b/docs/lists/lists-ol.html index 7abc6e74..60a1af7d 100755 --- a/docs/lists/lists-ol.html +++ b/docs/lists/lists-ol.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-performance.html b/docs/lists/lists-performance.html index 98c915dc..f37a96b4 100755 --- a/docs/lists/lists-performance.html +++ b/docs/lists/lists-performance.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-readonly.html b/docs/lists/lists-readonly.html index 1fce91a8..2fda7bbe 100755 --- a/docs/lists/lists-readonly.html +++ b/docs/lists/lists-readonly.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-search.html b/docs/lists/lists-search.html index 23d10b93..70c7cde5 100755 --- a/docs/lists/lists-search.html +++ b/docs/lists/lists-search.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-split-purchase.html b/docs/lists/lists-split-purchase.html index cdb81983..893cb421 100755 --- a/docs/lists/lists-split-purchase.html +++ b/docs/lists/lists-split-purchase.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Purchase dialog diff --git a/docs/lists/lists-split.html b/docs/lists/lists-split.html index ba94419f..e90a3750 100755 --- a/docs/lists/lists-split.html +++ b/docs/lists/lists-split.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-themes.html b/docs/lists/lists-themes.html index 150e780b..c896193b 100755 --- a/docs/lists/lists-themes.html +++ b/docs/lists/lists-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-thumbnails.html b/docs/lists/lists-thumbnails.html index 8b9b1c57..0c11253b 100755 --- a/docs/lists/lists-thumbnails.html +++ b/docs/lists/lists-thumbnails.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/docs/lists/lists-ul.html b/docs/lists/lists-ul.html index 38cc0fb6..10e94e69 100755 --- a/docs/lists/lists-ul.html +++ b/docs/lists/lists-ul.html @@ -2,7 +2,8 @@ Home - + + jQuery Mobile Docs - Lists diff --git a/docs/pages/api-pages.html b/docs/pages/api-pages.html index a09ec855..f4558d24 100755 --- a/docs/pages/api-pages.html +++ b/docs/pages/api-pages.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/dialog-alt.html b/docs/pages/dialog-alt.html index 4a8d42cc..c16011ef 100644 --- a/docs/pages/dialog-alt.html +++ b/docs/pages/dialog-alt.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Dialog Example diff --git a/docs/pages/dialog-buttons.html b/docs/pages/dialog-buttons.html index 12dfde21..aca3b850 100644 --- a/docs/pages/dialog-buttons.html +++ b/docs/pages/dialog-buttons.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Dialog Example diff --git a/docs/pages/dialog-success.html b/docs/pages/dialog-success.html index ef96847a..91cee204 100644 --- a/docs/pages/dialog-success.html +++ b/docs/pages/dialog-success.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Dialog Example diff --git a/docs/pages/dialog.html b/docs/pages/dialog.html index c9b0afa4..70e5ad29 100644 --- a/docs/pages/dialog.html +++ b/docs/pages/dialog.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Dialog Example diff --git a/docs/pages/docs-dialogs.html b/docs/pages/docs-dialogs.html index a043cc0d..ca1a3997 100755 --- a/docs/pages/docs-dialogs.html +++ b/docs/pages/docs-dialogs.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/docs-link-scenarios.html b/docs/pages/docs-link-scenarios.html index ffa4904c..6603c9cb 100755 --- a/docs/pages/docs-link-scenarios.html +++ b/docs/pages/docs-link-scenarios.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/docs-links-urltest/index.html b/docs/pages/docs-links-urltest/index.html index feaa838a..d6a6503c 100644 --- a/docs/pages/docs-links-urltest/index.html +++ b/docs/pages/docs-links-urltest/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Test URL Example diff --git a/docs/pages/docs-links.html b/docs/pages/docs-links.html index 145ff91e..ed33044e 100755 --- a/docs/pages/docs-links.html +++ b/docs/pages/docs-links.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/docs-navmodel.html b/docs/pages/docs-navmodel.html index f83e60c2..64027322 100644 --- a/docs/pages/docs-navmodel.html +++ b/docs/pages/docs-navmodel.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/docs-pages.html b/docs/pages/docs-pages.html index 0e671891..28498e80 100755 --- a/docs/pages/docs-pages.html +++ b/docs/pages/docs-pages.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/docs-transitions.html b/docs/pages/docs-transitions.html index 8b51180d..da739a6d 100755 --- a/docs/pages/docs-transitions.html +++ b/docs/pages/docs-transitions.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/index.html b/docs/pages/index.html index 2415622f..89cd7b1c 100755 --- a/docs/pages/index.html +++ b/docs/pages/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/link-formats.html b/docs/pages/link-formats.html index b4a404b4..4430584f 100755 --- a/docs/pages/link-formats.html +++ b/docs/pages/link-formats.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Links diff --git a/docs/pages/multipage-template.html b/docs/pages/multipage-template.html index f3fc1036..49463f44 100755 --- a/docs/pages/multipage-template.html +++ b/docs/pages/multipage-template.html @@ -1,7 +1,8 @@ - + + Page Title diff --git a/docs/pages/page-template.html b/docs/pages/page-template.html index 21aa3454..9715805d 100755 --- a/docs/pages/page-template.html +++ b/docs/pages/page-template.html @@ -1,7 +1,8 @@ - + + Page Title diff --git a/docs/pages/pages-themes.html b/docs/pages/pages-themes.html index 645aad30..9fbe063e 100755 --- a/docs/pages/pages-themes.html +++ b/docs/pages/pages-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Pages diff --git a/docs/pages/transition-success.html b/docs/pages/transition-success.html index 558ca81d..e8e72b73 100644 --- a/docs/pages/transition-success.html +++ b/docs/pages/transition-success.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Dialog Example diff --git a/docs/toolbars/api-bars.html b/docs/toolbars/api-bars.html index af191ab2..c0d0bba0 100755 --- a/docs/toolbars/api-bars.html +++ b/docs/toolbars/api-bars.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/docs/toolbars/bars-fixed.html b/docs/toolbars/bars-fixed.html index 0e319aa3..19eda90c 100755 --- a/docs/toolbars/bars-fixed.html +++ b/docs/toolbars/bars-fixed.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Toolbars demo diff --git a/docs/toolbars/bars-fullscreen.html b/docs/toolbars/bars-fullscreen.html index 13072f5f..cf3ecb3b 100755 --- a/docs/toolbars/bars-fullscreen.html +++ b/docs/toolbars/bars-fullscreen.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Fixed toolbars variation diff --git a/docs/toolbars/bars-themes.html b/docs/toolbars/bars-themes.html index 6bae2a00..e489b7f2 100755 --- a/docs/toolbars/bars-themes.html +++ b/docs/toolbars/bars-themes.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Toolbars demo diff --git a/docs/toolbars/docs-bars.html b/docs/toolbars/docs-bars.html index 3f357026..c8e5441e 100755 --- a/docs/toolbars/docs-bars.html +++ b/docs/toolbars/docs-bars.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/docs/toolbars/docs-footers.html b/docs/toolbars/docs-footers.html index bfab332f..b25a74fd 100755 --- a/docs/toolbars/docs-footers.html +++ b/docs/toolbars/docs-footers.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/docs/toolbars/docs-headers.html b/docs/toolbars/docs-headers.html index 32484b8d..c3e96a48 100755 --- a/docs/toolbars/docs-headers.html +++ b/docs/toolbars/docs-headers.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/docs/toolbars/docs-navbar.html b/docs/toolbars/docs-navbar.html index 53856345..d5da7c01 100755 --- a/docs/toolbars/docs-navbar.html +++ b/docs/toolbars/docs-navbar.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/docs/toolbars/footer-persist-a.html b/docs/toolbars/footer-persist-a.html index 0e939e64..a962c904 100755 --- a/docs/toolbars/footer-persist-a.html +++ b/docs/toolbars/footer-persist-a.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Persistent footer demo diff --git a/docs/toolbars/footer-persist-b.html b/docs/toolbars/footer-persist-b.html index 4595e590..95193c9a 100755 --- a/docs/toolbars/footer-persist-b.html +++ b/docs/toolbars/footer-persist-b.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Persistent footer demo diff --git a/docs/toolbars/footer-persist-c.html b/docs/toolbars/footer-persist-c.html index b95f3350..fd6c959f 100755 --- a/docs/toolbars/footer-persist-c.html +++ b/docs/toolbars/footer-persist-c.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Persistent footer demo diff --git a/docs/toolbars/index.html b/docs/toolbars/index.html index 0fb71de1..5c17ebdd 100755 --- a/docs/toolbars/index.html +++ b/docs/toolbars/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Toolbars diff --git a/experiments/api-viewer/docs/add/index.html b/experiments/api-viewer/docs/add/index.html index cf8cb23b..fbbd81ca 100644 --- a/experiments/api-viewer/docs/add/index.html +++ b/experiments/api-viewer/docs/add/index.html @@ -1,6 +1,7 @@ - test + + test

.add()

diff --git a/experiments/api-viewer/docs/addClass/index.html b/experiments/api-viewer/docs/addClass/index.html index ccfcd04f..1084c3a6 100644 --- a/experiments/api-viewer/docs/addClass/index.html +++ b/experiments/api-viewer/docs/addClass/index.html @@ -1,6 +1,7 @@ - + +

.addClass()

diff --git a/experiments/api-viewer/docs/after/index.html b/experiments/api-viewer/docs/after/index.html index 732ec1a3..05ab7cf8 100644 --- a/experiments/api-viewer/docs/after/index.html +++ b/experiments/api-viewer/docs/after/index.html @@ -1,6 +1,7 @@ - + +

.after()

diff --git a/experiments/api-viewer/docs/ajaxComplete/index.html b/experiments/api-viewer/docs/ajaxComplete/index.html index 72a67411..c161c108 100644 --- a/experiments/api-viewer/docs/ajaxComplete/index.html +++ b/experiments/api-viewer/docs/ajaxComplete/index.html @@ -1,6 +1,7 @@ - + +

.ajaxComplete()

diff --git a/experiments/api-viewer/docs/ajaxError/index.html b/experiments/api-viewer/docs/ajaxError/index.html index b2d6eb81..1ef1a015 100644 --- a/experiments/api-viewer/docs/ajaxError/index.html +++ b/experiments/api-viewer/docs/ajaxError/index.html @@ -1,6 +1,7 @@ - + +

.ajaxError()

diff --git a/experiments/api-viewer/docs/ajaxSend/index.html b/experiments/api-viewer/docs/ajaxSend/index.html index 9b9762eb..0ea8ea46 100644 --- a/experiments/api-viewer/docs/ajaxSend/index.html +++ b/experiments/api-viewer/docs/ajaxSend/index.html @@ -1,6 +1,7 @@ - + +

.ajaxSend()

diff --git a/experiments/api-viewer/docs/ajaxStart/index.html b/experiments/api-viewer/docs/ajaxStart/index.html index 1e76c1f8..3320134f 100644 --- a/experiments/api-viewer/docs/ajaxStart/index.html +++ b/experiments/api-viewer/docs/ajaxStart/index.html @@ -1,6 +1,7 @@ - + +

.ajaxStart()

diff --git a/experiments/api-viewer/docs/ajaxStop/index.html b/experiments/api-viewer/docs/ajaxStop/index.html index 7ad57080..7675a49f 100644 --- a/experiments/api-viewer/docs/ajaxStop/index.html +++ b/experiments/api-viewer/docs/ajaxStop/index.html @@ -1,6 +1,7 @@ - + +

.ajaxStop()

diff --git a/experiments/api-viewer/docs/ajaxSuccess/index.html b/experiments/api-viewer/docs/ajaxSuccess/index.html index 44d598b4..bed64f7c 100644 --- a/experiments/api-viewer/docs/ajaxSuccess/index.html +++ b/experiments/api-viewer/docs/ajaxSuccess/index.html @@ -1,6 +1,7 @@ - + +

.ajaxSuccess()

diff --git a/experiments/api-viewer/docs/all-selector/index.html b/experiments/api-viewer/docs/all-selector/index.html index f19de828..ee84088f 100644 --- a/experiments/api-viewer/docs/all-selector/index.html +++ b/experiments/api-viewer/docs/all-selector/index.html @@ -1,6 +1,7 @@ - + +

All Selector (“*”)

diff --git a/experiments/api-viewer/docs/andSelf/index.html b/experiments/api-viewer/docs/andSelf/index.html index 54677f95..dbf27d81 100644 --- a/experiments/api-viewer/docs/andSelf/index.html +++ b/experiments/api-viewer/docs/andSelf/index.html @@ -1,6 +1,7 @@ - + +

.andSelf()

diff --git a/experiments/api-viewer/docs/animate/index.html b/experiments/api-viewer/docs/animate/index.html index 74ed0d3b..30f7c002 100644 --- a/experiments/api-viewer/docs/animate/index.html +++ b/experiments/api-viewer/docs/animate/index.html @@ -1,6 +1,7 @@ - + +

.animate()

diff --git a/experiments/api-viewer/docs/animated-selector/index.html b/experiments/api-viewer/docs/animated-selector/index.html index 4a36cfd9..7ccaaf35 100644 --- a/experiments/api-viewer/docs/animated-selector/index.html +++ b/experiments/api-viewer/docs/animated-selector/index.html @@ -1,6 +1,7 @@ - + +

:animated Selector

diff --git a/experiments/api-viewer/docs/append/index.html b/experiments/api-viewer/docs/append/index.html index acfc1463..00756cbd 100644 --- a/experiments/api-viewer/docs/append/index.html +++ b/experiments/api-viewer/docs/append/index.html @@ -1,6 +1,7 @@ - + +

.append()

diff --git a/experiments/api-viewer/docs/appendTo/index.html b/experiments/api-viewer/docs/appendTo/index.html index 5b2b004b..41bf330a 100644 --- a/experiments/api-viewer/docs/appendTo/index.html +++ b/experiments/api-viewer/docs/appendTo/index.html @@ -1,6 +1,7 @@ - + +

.appendTo()

diff --git a/experiments/api-viewer/docs/attr/index.html b/experiments/api-viewer/docs/attr/index.html index 89fed77b..6079df2a 100644 --- a/experiments/api-viewer/docs/attr/index.html +++ b/experiments/api-viewer/docs/attr/index.html @@ -1,6 +1,7 @@ - + +

.attr()

diff --git a/experiments/api-viewer/docs/attribute-contains-prefix-selector/index.html b/experiments/api-viewer/docs/attribute-contains-prefix-selector/index.html index a8614e66..9c1c6e3a 100644 --- a/experiments/api-viewer/docs/attribute-contains-prefix-selector/index.html +++ b/experiments/api-viewer/docs/attribute-contains-prefix-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Contains Prefix Selector [name|=value]

diff --git a/experiments/api-viewer/docs/attribute-contains-selector/index.html b/experiments/api-viewer/docs/attribute-contains-selector/index.html index daffe958..d4cef41a 100644 --- a/experiments/api-viewer/docs/attribute-contains-selector/index.html +++ b/experiments/api-viewer/docs/attribute-contains-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Contains Selector [name*=value]

diff --git a/experiments/api-viewer/docs/attribute-contains-word-selector/index.html b/experiments/api-viewer/docs/attribute-contains-word-selector/index.html index 3466a24a..5b2201be 100644 --- a/experiments/api-viewer/docs/attribute-contains-word-selector/index.html +++ b/experiments/api-viewer/docs/attribute-contains-word-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Contains Word Selector [name~=value]

diff --git a/experiments/api-viewer/docs/attribute-ends-with-selector/index.html b/experiments/api-viewer/docs/attribute-ends-with-selector/index.html index 747cb140..e7568dab 100644 --- a/experiments/api-viewer/docs/attribute-ends-with-selector/index.html +++ b/experiments/api-viewer/docs/attribute-ends-with-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Ends With Selector [name$=value]

diff --git a/experiments/api-viewer/docs/attribute-equals-selector/index.html b/experiments/api-viewer/docs/attribute-equals-selector/index.html index d90d7e49..d53eb6bf 100644 --- a/experiments/api-viewer/docs/attribute-equals-selector/index.html +++ b/experiments/api-viewer/docs/attribute-equals-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Equals Selector [name=value]

diff --git a/experiments/api-viewer/docs/attribute-not-equal-selector/index.html b/experiments/api-viewer/docs/attribute-not-equal-selector/index.html index b84273eb..9048936d 100644 --- a/experiments/api-viewer/docs/attribute-not-equal-selector/index.html +++ b/experiments/api-viewer/docs/attribute-not-equal-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Not Equal Selector [name!=value]

diff --git a/experiments/api-viewer/docs/attribute-starts-with-selector/index.html b/experiments/api-viewer/docs/attribute-starts-with-selector/index.html index d5f5b5d4..ce96da40 100644 --- a/experiments/api-viewer/docs/attribute-starts-with-selector/index.html +++ b/experiments/api-viewer/docs/attribute-starts-with-selector/index.html @@ -1,6 +1,7 @@ - + +

Attribute Starts With Selector [name^=value]

diff --git a/experiments/api-viewer/docs/before/index.html b/experiments/api-viewer/docs/before/index.html index 942f8dcf..341094f6 100644 --- a/experiments/api-viewer/docs/before/index.html +++ b/experiments/api-viewer/docs/before/index.html @@ -1,6 +1,7 @@ - + +

.before()

diff --git a/experiments/api-viewer/docs/bind/index.html b/experiments/api-viewer/docs/bind/index.html index 6e5a6604..91074a79 100644 --- a/experiments/api-viewer/docs/bind/index.html +++ b/experiments/api-viewer/docs/bind/index.html @@ -1,6 +1,7 @@ - + +

.bind()

diff --git a/experiments/api-viewer/docs/blur/index.html b/experiments/api-viewer/docs/blur/index.html index 6f102c0b..f2ed00d0 100644 --- a/experiments/api-viewer/docs/blur/index.html +++ b/experiments/api-viewer/docs/blur/index.html @@ -1,6 +1,7 @@ - + +

.blur()

diff --git a/experiments/api-viewer/docs/button-selector/index.html b/experiments/api-viewer/docs/button-selector/index.html index da8e716b..e415ff29 100644 --- a/experiments/api-viewer/docs/button-selector/index.html +++ b/experiments/api-viewer/docs/button-selector/index.html @@ -1,6 +1,7 @@ - + +

:button Selector

diff --git a/experiments/api-viewer/docs/change/index.html b/experiments/api-viewer/docs/change/index.html index 0504e011..59c7f919 100644 --- a/experiments/api-viewer/docs/change/index.html +++ b/experiments/api-viewer/docs/change/index.html @@ -1,6 +1,7 @@ - + +

.change()

diff --git a/experiments/api-viewer/docs/checkbox-selector/index.html b/experiments/api-viewer/docs/checkbox-selector/index.html index 7994d39a..83dd37ce 100644 --- a/experiments/api-viewer/docs/checkbox-selector/index.html +++ b/experiments/api-viewer/docs/checkbox-selector/index.html @@ -1,6 +1,7 @@ - + +

:checkbox Selector

diff --git a/experiments/api-viewer/docs/checked-selector/index.html b/experiments/api-viewer/docs/checked-selector/index.html index 4ddb7016..aa4949b1 100644 --- a/experiments/api-viewer/docs/checked-selector/index.html +++ b/experiments/api-viewer/docs/checked-selector/index.html @@ -1,6 +1,7 @@ - + +

:checked Selector

diff --git a/experiments/api-viewer/docs/child-selector/index.html b/experiments/api-viewer/docs/child-selector/index.html index 0abf8ed0..718606e1 100644 --- a/experiments/api-viewer/docs/child-selector/index.html +++ b/experiments/api-viewer/docs/child-selector/index.html @@ -1,6 +1,7 @@ - + +

Child Selector (“parent > child”)

diff --git a/experiments/api-viewer/docs/children/index.html b/experiments/api-viewer/docs/children/index.html index ac377894..012a7099 100644 --- a/experiments/api-viewer/docs/children/index.html +++ b/experiments/api-viewer/docs/children/index.html @@ -1,6 +1,7 @@ - + +

.children()

diff --git a/experiments/api-viewer/docs/class-selector/index.html b/experiments/api-viewer/docs/class-selector/index.html index 13250553..7b6ecf57 100644 --- a/experiments/api-viewer/docs/class-selector/index.html +++ b/experiments/api-viewer/docs/class-selector/index.html @@ -1,6 +1,7 @@ - + +

Class Selector (“.class”)

diff --git a/experiments/api-viewer/docs/clearQueue/index.html b/experiments/api-viewer/docs/clearQueue/index.html index 2f980836..6e21b346 100644 --- a/experiments/api-viewer/docs/clearQueue/index.html +++ b/experiments/api-viewer/docs/clearQueue/index.html @@ -1,6 +1,7 @@ - + +

.clearQueue()

diff --git a/experiments/api-viewer/docs/click/index.html b/experiments/api-viewer/docs/click/index.html index 1897d3b0..9ba71620 100644 --- a/experiments/api-viewer/docs/click/index.html +++ b/experiments/api-viewer/docs/click/index.html @@ -1,6 +1,7 @@ - + +

.click()

diff --git a/experiments/api-viewer/docs/clone/index.html b/experiments/api-viewer/docs/clone/index.html index bb230197..2a9b4da4 100644 --- a/experiments/api-viewer/docs/clone/index.html +++ b/experiments/api-viewer/docs/clone/index.html @@ -1,6 +1,7 @@ - + +

.clone()

diff --git a/experiments/api-viewer/docs/closest/index.html b/experiments/api-viewer/docs/closest/index.html index 9b753aff..6710e294 100644 --- a/experiments/api-viewer/docs/closest/index.html +++ b/experiments/api-viewer/docs/closest/index.html @@ -1,6 +1,7 @@ - + +

.closest()

diff --git a/experiments/api-viewer/docs/contains-selector/index.html b/experiments/api-viewer/docs/contains-selector/index.html index 9a35ef47..f6d57de3 100644 --- a/experiments/api-viewer/docs/contains-selector/index.html +++ b/experiments/api-viewer/docs/contains-selector/index.html @@ -1,6 +1,7 @@ - + +

:contains() Selector

diff --git a/experiments/api-viewer/docs/contents/index.html b/experiments/api-viewer/docs/contents/index.html index 05ad53e9..463975ce 100644 --- a/experiments/api-viewer/docs/contents/index.html +++ b/experiments/api-viewer/docs/contents/index.html @@ -1,6 +1,7 @@ - + +

.contents()

diff --git a/experiments/api-viewer/docs/context/index.html b/experiments/api-viewer/docs/context/index.html index 42597494..5093c0ad 100644 --- a/experiments/api-viewer/docs/context/index.html +++ b/experiments/api-viewer/docs/context/index.html @@ -1,6 +1,7 @@ - + +

.context

diff --git a/experiments/api-viewer/docs/css/index.html b/experiments/api-viewer/docs/css/index.html index 10c1be3d..c1826763 100644 --- a/experiments/api-viewer/docs/css/index.html +++ b/experiments/api-viewer/docs/css/index.html @@ -1,6 +1,7 @@ - + +

.css()

diff --git a/experiments/api-viewer/docs/data/index.html b/experiments/api-viewer/docs/data/index.html index fd50fc66..ead361c0 100644 --- a/experiments/api-viewer/docs/data/index.html +++ b/experiments/api-viewer/docs/data/index.html @@ -1,6 +1,7 @@ - + +

.data()

diff --git a/experiments/api-viewer/docs/dblclick/index.html b/experiments/api-viewer/docs/dblclick/index.html index fbcdd978..14308dbc 100644 --- a/experiments/api-viewer/docs/dblclick/index.html +++ b/experiments/api-viewer/docs/dblclick/index.html @@ -1,6 +1,7 @@ - + +

.dblclick()

diff --git a/experiments/api-viewer/docs/delay/index.html b/experiments/api-viewer/docs/delay/index.html index 72de344a..e84b3354 100644 --- a/experiments/api-viewer/docs/delay/index.html +++ b/experiments/api-viewer/docs/delay/index.html @@ -1,6 +1,7 @@ - + +

.delay()

diff --git a/experiments/api-viewer/docs/delegate/index.html b/experiments/api-viewer/docs/delegate/index.html index bc66db32..d5ce4f01 100644 --- a/experiments/api-viewer/docs/delegate/index.html +++ b/experiments/api-viewer/docs/delegate/index.html @@ -1,6 +1,7 @@ - + +

.delegate()

diff --git a/experiments/api-viewer/docs/dequeue/index.html b/experiments/api-viewer/docs/dequeue/index.html index f48780a2..19ff9598 100644 --- a/experiments/api-viewer/docs/dequeue/index.html +++ b/experiments/api-viewer/docs/dequeue/index.html @@ -1,6 +1,7 @@ - + +

.dequeue()

diff --git a/experiments/api-viewer/docs/descendant-selector/index.html b/experiments/api-viewer/docs/descendant-selector/index.html index c170f766..00d423e6 100644 --- a/experiments/api-viewer/docs/descendant-selector/index.html +++ b/experiments/api-viewer/docs/descendant-selector/index.html @@ -1,6 +1,7 @@ - + +

Descendant Selector (“ancestor descendant”)

diff --git a/experiments/api-viewer/docs/detach/index.html b/experiments/api-viewer/docs/detach/index.html index e87dfc6b..02748310 100644 --- a/experiments/api-viewer/docs/detach/index.html +++ b/experiments/api-viewer/docs/detach/index.html @@ -1,6 +1,7 @@ - + +

.detach()

diff --git a/experiments/api-viewer/docs/die/index.html b/experiments/api-viewer/docs/die/index.html index 7b6bb5dc..d0de2c85 100644 --- a/experiments/api-viewer/docs/die/index.html +++ b/experiments/api-viewer/docs/die/index.html @@ -1,6 +1,7 @@ - + +

.die()

diff --git a/experiments/api-viewer/docs/disabled-selector/index.html b/experiments/api-viewer/docs/disabled-selector/index.html index 122d8cc7..02fe37c5 100644 --- a/experiments/api-viewer/docs/disabled-selector/index.html +++ b/experiments/api-viewer/docs/disabled-selector/index.html @@ -1,6 +1,7 @@ - + +

:disabled Selector

diff --git a/experiments/api-viewer/docs/each/index.html b/experiments/api-viewer/docs/each/index.html index 5663ce64..c4ad14ab 100644 --- a/experiments/api-viewer/docs/each/index.html +++ b/experiments/api-viewer/docs/each/index.html @@ -1,6 +1,7 @@ - + +

.each()

diff --git a/experiments/api-viewer/docs/element-selector/index.html b/experiments/api-viewer/docs/element-selector/index.html index 40334c9f..fb645ed8 100644 --- a/experiments/api-viewer/docs/element-selector/index.html +++ b/experiments/api-viewer/docs/element-selector/index.html @@ -1,6 +1,7 @@ - + +

Element Selector (“element”)

diff --git a/experiments/api-viewer/docs/empty-selector/index.html b/experiments/api-viewer/docs/empty-selector/index.html index 5f171800..b3e3890d 100644 --- a/experiments/api-viewer/docs/empty-selector/index.html +++ b/experiments/api-viewer/docs/empty-selector/index.html @@ -1,6 +1,7 @@ - + +

:empty Selector

diff --git a/experiments/api-viewer/docs/empty/index.html b/experiments/api-viewer/docs/empty/index.html index 03f5b4af..dcf16352 100644 --- a/experiments/api-viewer/docs/empty/index.html +++ b/experiments/api-viewer/docs/empty/index.html @@ -1,6 +1,7 @@ - + +

.empty()

diff --git a/experiments/api-viewer/docs/enabled-selector/index.html b/experiments/api-viewer/docs/enabled-selector/index.html index 17a6775c..c956ebd6 100644 --- a/experiments/api-viewer/docs/enabled-selector/index.html +++ b/experiments/api-viewer/docs/enabled-selector/index.html @@ -1,6 +1,7 @@ - + +

:enabled Selector

diff --git a/experiments/api-viewer/docs/end/index.html b/experiments/api-viewer/docs/end/index.html index c7c096d5..42555bf3 100644 --- a/experiments/api-viewer/docs/end/index.html +++ b/experiments/api-viewer/docs/end/index.html @@ -1,6 +1,7 @@ - + +

.end()

diff --git a/experiments/api-viewer/docs/eq-selector/index.html b/experiments/api-viewer/docs/eq-selector/index.html index 3bca8e46..364a8f11 100644 --- a/experiments/api-viewer/docs/eq-selector/index.html +++ b/experiments/api-viewer/docs/eq-selector/index.html @@ -1,6 +1,7 @@ - + +

:eq() Selector

diff --git a/experiments/api-viewer/docs/eq/index.html b/experiments/api-viewer/docs/eq/index.html index 3df88821..a94a2e65 100644 --- a/experiments/api-viewer/docs/eq/index.html +++ b/experiments/api-viewer/docs/eq/index.html @@ -1,6 +1,7 @@ - + +

.eq()

diff --git a/experiments/api-viewer/docs/error/index.html b/experiments/api-viewer/docs/error/index.html index 2f6c392e..4793bdde 100644 --- a/experiments/api-viewer/docs/error/index.html +++ b/experiments/api-viewer/docs/error/index.html @@ -1,6 +1,7 @@ - + +

.error()

diff --git a/experiments/api-viewer/docs/even-selector/index.html b/experiments/api-viewer/docs/even-selector/index.html index da715ebe..01a9640a 100644 --- a/experiments/api-viewer/docs/even-selector/index.html +++ b/experiments/api-viewer/docs/even-selector/index.html @@ -1,6 +1,7 @@ - + +

:even Selector

diff --git a/experiments/api-viewer/docs/event.currentTarget/index.html b/experiments/api-viewer/docs/event.currentTarget/index.html index 0526c94d..3c448a92 100644 --- a/experiments/api-viewer/docs/event.currentTarget/index.html +++ b/experiments/api-viewer/docs/event.currentTarget/index.html @@ -1,6 +1,7 @@ - + +

event.currentTarget

diff --git a/experiments/api-viewer/docs/event.data/index.html b/experiments/api-viewer/docs/event.data/index.html index 2956612a..22f1ed76 100644 --- a/experiments/api-viewer/docs/event.data/index.html +++ b/experiments/api-viewer/docs/event.data/index.html @@ -1,6 +1,7 @@ - + +

event.data

diff --git a/experiments/api-viewer/docs/event.isDefaultPrevented/index.html b/experiments/api-viewer/docs/event.isDefaultPrevented/index.html index 941a4b39..5190dff6 100644 --- a/experiments/api-viewer/docs/event.isDefaultPrevented/index.html +++ b/experiments/api-viewer/docs/event.isDefaultPrevented/index.html @@ -1,6 +1,7 @@ - + +

event.isDefaultPrevented()

diff --git a/experiments/api-viewer/docs/event.isImmediatePropagationStopped/index.html b/experiments/api-viewer/docs/event.isImmediatePropagationStopped/index.html index c929cf3b..3dcd1572 100644 --- a/experiments/api-viewer/docs/event.isImmediatePropagationStopped/index.html +++ b/experiments/api-viewer/docs/event.isImmediatePropagationStopped/index.html @@ -1,6 +1,7 @@ - + +

event.isImmediatePropagationStopped()

diff --git a/experiments/api-viewer/docs/event.isPropagationStopped/index.html b/experiments/api-viewer/docs/event.isPropagationStopped/index.html index 182c5d2a..fb1e44c5 100644 --- a/experiments/api-viewer/docs/event.isPropagationStopped/index.html +++ b/experiments/api-viewer/docs/event.isPropagationStopped/index.html @@ -1,6 +1,7 @@ - + +

event.isPropagationStopped()

diff --git a/experiments/api-viewer/docs/event.pageX/index.html b/experiments/api-viewer/docs/event.pageX/index.html index f627d92c..701f0465 100644 --- a/experiments/api-viewer/docs/event.pageX/index.html +++ b/experiments/api-viewer/docs/event.pageX/index.html @@ -1,6 +1,7 @@ - + +

event.pageX

diff --git a/experiments/api-viewer/docs/event.pageY/index.html b/experiments/api-viewer/docs/event.pageY/index.html index 4bd068ed..c5318eef 100644 --- a/experiments/api-viewer/docs/event.pageY/index.html +++ b/experiments/api-viewer/docs/event.pageY/index.html @@ -1,6 +1,7 @@ - + +

event.pageY

diff --git a/experiments/api-viewer/docs/event.preventDefault/index.html b/experiments/api-viewer/docs/event.preventDefault/index.html index 675cf02b..45c1d501 100644 --- a/experiments/api-viewer/docs/event.preventDefault/index.html +++ b/experiments/api-viewer/docs/event.preventDefault/index.html @@ -1,6 +1,7 @@ - + +

event.preventDefault()

diff --git a/experiments/api-viewer/docs/event.relatedTarget/index.html b/experiments/api-viewer/docs/event.relatedTarget/index.html index cafeb933..556affff 100644 --- a/experiments/api-viewer/docs/event.relatedTarget/index.html +++ b/experiments/api-viewer/docs/event.relatedTarget/index.html @@ -1,6 +1,7 @@ - + +

event.relatedTarget

diff --git a/experiments/api-viewer/docs/event.result/index.html b/experiments/api-viewer/docs/event.result/index.html index 2756b788..b97c171e 100644 --- a/experiments/api-viewer/docs/event.result/index.html +++ b/experiments/api-viewer/docs/event.result/index.html @@ -1,6 +1,7 @@ - + +

event.result

diff --git a/experiments/api-viewer/docs/event.stopImmediatePropagation/index.html b/experiments/api-viewer/docs/event.stopImmediatePropagation/index.html index a0f3d1d6..448be35b 100644 --- a/experiments/api-viewer/docs/event.stopImmediatePropagation/index.html +++ b/experiments/api-viewer/docs/event.stopImmediatePropagation/index.html @@ -1,6 +1,7 @@ - + +

event.stopImmediatePropagation()

diff --git a/experiments/api-viewer/docs/event.stopPropagation/index.html b/experiments/api-viewer/docs/event.stopPropagation/index.html index f315db36..9ea9a682 100644 --- a/experiments/api-viewer/docs/event.stopPropagation/index.html +++ b/experiments/api-viewer/docs/event.stopPropagation/index.html @@ -1,6 +1,7 @@ - + +

event.stopPropagation()

diff --git a/experiments/api-viewer/docs/event.target/index.html b/experiments/api-viewer/docs/event.target/index.html index e530c736..914eea1c 100644 --- a/experiments/api-viewer/docs/event.target/index.html +++ b/experiments/api-viewer/docs/event.target/index.html @@ -1,6 +1,7 @@ - + +

event.target

diff --git a/experiments/api-viewer/docs/event.timeStamp/index.html b/experiments/api-viewer/docs/event.timeStamp/index.html index 7f19b41d..273952fd 100644 --- a/experiments/api-viewer/docs/event.timeStamp/index.html +++ b/experiments/api-viewer/docs/event.timeStamp/index.html @@ -1,6 +1,7 @@ - + +

event.timeStamp

diff --git a/experiments/api-viewer/docs/event.type/index.html b/experiments/api-viewer/docs/event.type/index.html index 7781549e..920607e1 100644 --- a/experiments/api-viewer/docs/event.type/index.html +++ b/experiments/api-viewer/docs/event.type/index.html @@ -1,6 +1,7 @@ - + +

event.type

diff --git a/experiments/api-viewer/docs/event.which/index.html b/experiments/api-viewer/docs/event.which/index.html index f75d9151..a5fdf9c2 100644 --- a/experiments/api-viewer/docs/event.which/index.html +++ b/experiments/api-viewer/docs/event.which/index.html @@ -1,6 +1,7 @@ - + +

event.which

diff --git a/experiments/api-viewer/docs/fadeIn/index.html b/experiments/api-viewer/docs/fadeIn/index.html index ed046b20..9c71da16 100644 --- a/experiments/api-viewer/docs/fadeIn/index.html +++ b/experiments/api-viewer/docs/fadeIn/index.html @@ -1,6 +1,7 @@ - + +

.fadeIn()

diff --git a/experiments/api-viewer/docs/fadeOut/index.html b/experiments/api-viewer/docs/fadeOut/index.html index fedef96d..6195cc23 100644 --- a/experiments/api-viewer/docs/fadeOut/index.html +++ b/experiments/api-viewer/docs/fadeOut/index.html @@ -1,6 +1,7 @@ - + +

.fadeOut()

diff --git a/experiments/api-viewer/docs/fadeTo/index.html b/experiments/api-viewer/docs/fadeTo/index.html index d48db72b..46c1a592 100644 --- a/experiments/api-viewer/docs/fadeTo/index.html +++ b/experiments/api-viewer/docs/fadeTo/index.html @@ -1,6 +1,7 @@ - + +

.fadeTo()

diff --git a/experiments/api-viewer/docs/file-selector/index.html b/experiments/api-viewer/docs/file-selector/index.html index fa760aef..1115596e 100644 --- a/experiments/api-viewer/docs/file-selector/index.html +++ b/experiments/api-viewer/docs/file-selector/index.html @@ -1,6 +1,7 @@ - + +

:file Selector

diff --git a/experiments/api-viewer/docs/filter/index.html b/experiments/api-viewer/docs/filter/index.html index c07e5396..a24afac5 100644 --- a/experiments/api-viewer/docs/filter/index.html +++ b/experiments/api-viewer/docs/filter/index.html @@ -1,6 +1,7 @@ - + +

.filter()

diff --git a/experiments/api-viewer/docs/find/index.html b/experiments/api-viewer/docs/find/index.html index 28d53f66..cf9cad1b 100644 --- a/experiments/api-viewer/docs/find/index.html +++ b/experiments/api-viewer/docs/find/index.html @@ -1,6 +1,7 @@ - + +

.find()

diff --git a/experiments/api-viewer/docs/first-child-selector/index.html b/experiments/api-viewer/docs/first-child-selector/index.html index 4c86c84f..1adb8a0c 100644 --- a/experiments/api-viewer/docs/first-child-selector/index.html +++ b/experiments/api-viewer/docs/first-child-selector/index.html @@ -1,6 +1,7 @@ - + +

:first-child Selector

diff --git a/experiments/api-viewer/docs/first-selector/index.html b/experiments/api-viewer/docs/first-selector/index.html index ebd5585c..940ed510 100644 --- a/experiments/api-viewer/docs/first-selector/index.html +++ b/experiments/api-viewer/docs/first-selector/index.html @@ -1,6 +1,7 @@ - + +

:first Selector

diff --git a/experiments/api-viewer/docs/first/index.html b/experiments/api-viewer/docs/first/index.html index d1bece68..92f97e90 100644 --- a/experiments/api-viewer/docs/first/index.html +++ b/experiments/api-viewer/docs/first/index.html @@ -1,6 +1,7 @@ - + +

.first()

diff --git a/experiments/api-viewer/docs/focus/index.html b/experiments/api-viewer/docs/focus/index.html index 10ef829f..ee61c91e 100644 --- a/experiments/api-viewer/docs/focus/index.html +++ b/experiments/api-viewer/docs/focus/index.html @@ -1,6 +1,7 @@ - + +

.focus()

diff --git a/experiments/api-viewer/docs/focusin/index.html b/experiments/api-viewer/docs/focusin/index.html index d04f0790..6efe5434 100644 --- a/experiments/api-viewer/docs/focusin/index.html +++ b/experiments/api-viewer/docs/focusin/index.html @@ -1,6 +1,7 @@ - + +

.focusin()

diff --git a/experiments/api-viewer/docs/focusout/index.html b/experiments/api-viewer/docs/focusout/index.html index 57764c07..551f5b63 100644 --- a/experiments/api-viewer/docs/focusout/index.html +++ b/experiments/api-viewer/docs/focusout/index.html @@ -1,6 +1,7 @@ - + +

.focusout()

diff --git a/experiments/api-viewer/docs/get/index.html b/experiments/api-viewer/docs/get/index.html index f56c92d3..99f6039e 100644 --- a/experiments/api-viewer/docs/get/index.html +++ b/experiments/api-viewer/docs/get/index.html @@ -1,6 +1,7 @@ - + +

.get()

diff --git a/experiments/api-viewer/docs/gt-selector/index.html b/experiments/api-viewer/docs/gt-selector/index.html index afb2f72f..4f421070 100644 --- a/experiments/api-viewer/docs/gt-selector/index.html +++ b/experiments/api-viewer/docs/gt-selector/index.html @@ -1,6 +1,7 @@ - + +

:gt() Selector

diff --git a/experiments/api-viewer/docs/has-attribute-selector/index.html b/experiments/api-viewer/docs/has-attribute-selector/index.html index 578589f7..7320d75a 100644 --- a/experiments/api-viewer/docs/has-attribute-selector/index.html +++ b/experiments/api-viewer/docs/has-attribute-selector/index.html @@ -1,6 +1,7 @@ - + +

Has Attribute Selector [name]

diff --git a/experiments/api-viewer/docs/has-selector/index.html b/experiments/api-viewer/docs/has-selector/index.html index db933ea7..5998be69 100644 --- a/experiments/api-viewer/docs/has-selector/index.html +++ b/experiments/api-viewer/docs/has-selector/index.html @@ -1,6 +1,7 @@ - + +

:has() Selector

diff --git a/experiments/api-viewer/docs/has/index.html b/experiments/api-viewer/docs/has/index.html index 4a201af4..dbf9e200 100644 --- a/experiments/api-viewer/docs/has/index.html +++ b/experiments/api-viewer/docs/has/index.html @@ -1,6 +1,7 @@ - + +

.has()

diff --git a/experiments/api-viewer/docs/hasClass/index.html b/experiments/api-viewer/docs/hasClass/index.html index aa478773..7adbbec3 100644 --- a/experiments/api-viewer/docs/hasClass/index.html +++ b/experiments/api-viewer/docs/hasClass/index.html @@ -1,6 +1,7 @@ - + +

.hasClass()

diff --git a/experiments/api-viewer/docs/header-selector/index.html b/experiments/api-viewer/docs/header-selector/index.html index fe1717b4..e7dcfeab 100644 --- a/experiments/api-viewer/docs/header-selector/index.html +++ b/experiments/api-viewer/docs/header-selector/index.html @@ -1,6 +1,7 @@ - + +

:header Selector

diff --git a/experiments/api-viewer/docs/height/index.html b/experiments/api-viewer/docs/height/index.html index 2a6a3e7f..fdc8289a 100644 --- a/experiments/api-viewer/docs/height/index.html +++ b/experiments/api-viewer/docs/height/index.html @@ -1,6 +1,7 @@ - + +

.height()

diff --git a/experiments/api-viewer/docs/hidden-selector/index.html b/experiments/api-viewer/docs/hidden-selector/index.html index 664eaea1..46823f3b 100644 --- a/experiments/api-viewer/docs/hidden-selector/index.html +++ b/experiments/api-viewer/docs/hidden-selector/index.html @@ -1,6 +1,7 @@ - + +

:hidden Selector

diff --git a/experiments/api-viewer/docs/hide/index.html b/experiments/api-viewer/docs/hide/index.html index 57624df9..794b6dba 100644 --- a/experiments/api-viewer/docs/hide/index.html +++ b/experiments/api-viewer/docs/hide/index.html @@ -1,6 +1,7 @@ - + +

.hide()

diff --git a/experiments/api-viewer/docs/hover/index.html b/experiments/api-viewer/docs/hover/index.html index bdb6cb8f..1084b0ea 100644 --- a/experiments/api-viewer/docs/hover/index.html +++ b/experiments/api-viewer/docs/hover/index.html @@ -1,6 +1,7 @@ - + +

.hover()

diff --git a/experiments/api-viewer/docs/html/index.html b/experiments/api-viewer/docs/html/index.html index 4bb23943..4d1f8a5b 100644 --- a/experiments/api-viewer/docs/html/index.html +++ b/experiments/api-viewer/docs/html/index.html @@ -1,6 +1,7 @@ - + +

.html()

diff --git a/experiments/api-viewer/docs/id-selector/index.html b/experiments/api-viewer/docs/id-selector/index.html index 7ffd9831..c3f73921 100644 --- a/experiments/api-viewer/docs/id-selector/index.html +++ b/experiments/api-viewer/docs/id-selector/index.html @@ -1,6 +1,7 @@ - + +

ID Selector (“#id”)

diff --git a/experiments/api-viewer/docs/image-selector/index.html b/experiments/api-viewer/docs/image-selector/index.html index bad8cac7..c4704ca8 100644 --- a/experiments/api-viewer/docs/image-selector/index.html +++ b/experiments/api-viewer/docs/image-selector/index.html @@ -1,6 +1,7 @@ - + +

:image Selector

diff --git a/experiments/api-viewer/docs/index/index.html b/experiments/api-viewer/docs/index/index.html index f17bf61f..716db034 100644 --- a/experiments/api-viewer/docs/index/index.html +++ b/experiments/api-viewer/docs/index/index.html @@ -1,6 +1,7 @@ - + +

.index()

diff --git a/experiments/api-viewer/docs/innerHeight/index.html b/experiments/api-viewer/docs/innerHeight/index.html index 51f555e6..3a201f68 100644 --- a/experiments/api-viewer/docs/innerHeight/index.html +++ b/experiments/api-viewer/docs/innerHeight/index.html @@ -1,6 +1,7 @@ - + +

.innerHeight()

diff --git a/experiments/api-viewer/docs/innerWidth/index.html b/experiments/api-viewer/docs/innerWidth/index.html index 86c4102c..050327ef 100644 --- a/experiments/api-viewer/docs/innerWidth/index.html +++ b/experiments/api-viewer/docs/innerWidth/index.html @@ -1,6 +1,7 @@ - + +

.innerWidth()

diff --git a/experiments/api-viewer/docs/input-selector/index.html b/experiments/api-viewer/docs/input-selector/index.html index a10fc086..baabc3f2 100644 --- a/experiments/api-viewer/docs/input-selector/index.html +++ b/experiments/api-viewer/docs/input-selector/index.html @@ -1,6 +1,7 @@ - + +

:input Selector

diff --git a/experiments/api-viewer/docs/insertAfter/index.html b/experiments/api-viewer/docs/insertAfter/index.html index a7b29b53..7fb3700f 100644 --- a/experiments/api-viewer/docs/insertAfter/index.html +++ b/experiments/api-viewer/docs/insertAfter/index.html @@ -1,6 +1,7 @@ - + +

.insertAfter()

diff --git a/experiments/api-viewer/docs/insertBefore/index.html b/experiments/api-viewer/docs/insertBefore/index.html index bfa34b4a..849883cc 100644 --- a/experiments/api-viewer/docs/insertBefore/index.html +++ b/experiments/api-viewer/docs/insertBefore/index.html @@ -1,6 +1,7 @@ - + +

.insertBefore()

diff --git a/experiments/api-viewer/docs/is/index.html b/experiments/api-viewer/docs/is/index.html index e4b8ab38..f89f6e87 100644 --- a/experiments/api-viewer/docs/is/index.html +++ b/experiments/api-viewer/docs/is/index.html @@ -1,6 +1,7 @@ - + +

.is()

diff --git a/experiments/api-viewer/docs/jQuery.ajax/index.html b/experiments/api-viewer/docs/jQuery.ajax/index.html index b95a2c9e..ea526d31 100644 --- a/experiments/api-viewer/docs/jQuery.ajax/index.html +++ b/experiments/api-viewer/docs/jQuery.ajax/index.html @@ -1,6 +1,7 @@ - + +

jQuery.ajax()

diff --git a/experiments/api-viewer/docs/jQuery.ajaxSetup/index.html b/experiments/api-viewer/docs/jQuery.ajaxSetup/index.html index 0edd1eef..e02d7364 100644 --- a/experiments/api-viewer/docs/jQuery.ajaxSetup/index.html +++ b/experiments/api-viewer/docs/jQuery.ajaxSetup/index.html @@ -1,6 +1,7 @@ - + +

jQuery.ajaxSetup()

diff --git a/experiments/api-viewer/docs/jQuery.boxModel/index.html b/experiments/api-viewer/docs/jQuery.boxModel/index.html index 5565dd2e..81788564 100644 --- a/experiments/api-viewer/docs/jQuery.boxModel/index.html +++ b/experiments/api-viewer/docs/jQuery.boxModel/index.html @@ -1,6 +1,7 @@ - + +

jQuery.boxModel

diff --git a/experiments/api-viewer/docs/jQuery.browser/index.html b/experiments/api-viewer/docs/jQuery.browser/index.html index 9befa694..c2bc4d1b 100644 --- a/experiments/api-viewer/docs/jQuery.browser/index.html +++ b/experiments/api-viewer/docs/jQuery.browser/index.html @@ -1,6 +1,7 @@ - + +

jQuery.browser

diff --git a/experiments/api-viewer/docs/jQuery.contains/index.html b/experiments/api-viewer/docs/jQuery.contains/index.html index fb142ad0..ae185683 100644 --- a/experiments/api-viewer/docs/jQuery.contains/index.html +++ b/experiments/api-viewer/docs/jQuery.contains/index.html @@ -1,6 +1,7 @@ - + +

jQuery.contains()

diff --git a/experiments/api-viewer/docs/jQuery.data/index.html b/experiments/api-viewer/docs/jQuery.data/index.html index 38f32e7b..770acb84 100644 --- a/experiments/api-viewer/docs/jQuery.data/index.html +++ b/experiments/api-viewer/docs/jQuery.data/index.html @@ -1,6 +1,7 @@ - + +

jQuery.data()

diff --git a/experiments/api-viewer/docs/jQuery.dequeue/index.html b/experiments/api-viewer/docs/jQuery.dequeue/index.html index cf6056f2..5ff9a780 100644 --- a/experiments/api-viewer/docs/jQuery.dequeue/index.html +++ b/experiments/api-viewer/docs/jQuery.dequeue/index.html @@ -1,6 +1,7 @@ - + +

jQuery.dequeue()

diff --git a/experiments/api-viewer/docs/jQuery.each/index.html b/experiments/api-viewer/docs/jQuery.each/index.html index ac8e9bc9..57dbe0d3 100644 --- a/experiments/api-viewer/docs/jQuery.each/index.html +++ b/experiments/api-viewer/docs/jQuery.each/index.html @@ -1,6 +1,7 @@ - + +

jQuery.each()

diff --git a/experiments/api-viewer/docs/jQuery.error/index.html b/experiments/api-viewer/docs/jQuery.error/index.html index a1268edb..b4d7e6c0 100644 --- a/experiments/api-viewer/docs/jQuery.error/index.html +++ b/experiments/api-viewer/docs/jQuery.error/index.html @@ -1,6 +1,7 @@ - + +

jQuery.error

diff --git a/experiments/api-viewer/docs/jQuery.extend/index.html b/experiments/api-viewer/docs/jQuery.extend/index.html index edc9ad70..8d377928 100644 --- a/experiments/api-viewer/docs/jQuery.extend/index.html +++ b/experiments/api-viewer/docs/jQuery.extend/index.html @@ -1,6 +1,7 @@ - + +

jQuery.extend()

diff --git a/experiments/api-viewer/docs/jQuery.fx.off/index.html b/experiments/api-viewer/docs/jQuery.fx.off/index.html index 6f66f0fb..711c9a59 100644 --- a/experiments/api-viewer/docs/jQuery.fx.off/index.html +++ b/experiments/api-viewer/docs/jQuery.fx.off/index.html @@ -1,6 +1,7 @@ - + +

jQuery.fx.off

diff --git a/experiments/api-viewer/docs/jQuery.get/index.html b/experiments/api-viewer/docs/jQuery.get/index.html index 64f96a0f..f6ec87df 100644 --- a/experiments/api-viewer/docs/jQuery.get/index.html +++ b/experiments/api-viewer/docs/jQuery.get/index.html @@ -1,6 +1,7 @@ - + +

jQuery.get()

diff --git a/experiments/api-viewer/docs/jQuery.getJSON/index.html b/experiments/api-viewer/docs/jQuery.getJSON/index.html index 211d0626..966edb55 100644 --- a/experiments/api-viewer/docs/jQuery.getJSON/index.html +++ b/experiments/api-viewer/docs/jQuery.getJSON/index.html @@ -1,6 +1,7 @@ - + +

jQuery.getJSON()

diff --git a/experiments/api-viewer/docs/jQuery.getScript/index.html b/experiments/api-viewer/docs/jQuery.getScript/index.html index c9741cbb..39935d59 100644 --- a/experiments/api-viewer/docs/jQuery.getScript/index.html +++ b/experiments/api-viewer/docs/jQuery.getScript/index.html @@ -1,6 +1,7 @@ - + +

jQuery.getScript()

diff --git a/experiments/api-viewer/docs/jQuery.globalEval/index.html b/experiments/api-viewer/docs/jQuery.globalEval/index.html index 9bcca047..1ce699ed 100644 --- a/experiments/api-viewer/docs/jQuery.globalEval/index.html +++ b/experiments/api-viewer/docs/jQuery.globalEval/index.html @@ -1,6 +1,7 @@ - + +

jQuery.globalEval()

diff --git a/experiments/api-viewer/docs/jQuery.grep/index.html b/experiments/api-viewer/docs/jQuery.grep/index.html index 51d12b64..06e521e5 100644 --- a/experiments/api-viewer/docs/jQuery.grep/index.html +++ b/experiments/api-viewer/docs/jQuery.grep/index.html @@ -1,6 +1,7 @@ - + +

jQuery.grep()

diff --git a/experiments/api-viewer/docs/jQuery.inArray/index.html b/experiments/api-viewer/docs/jQuery.inArray/index.html index 0a0950f8..56bee865 100644 --- a/experiments/api-viewer/docs/jQuery.inArray/index.html +++ b/experiments/api-viewer/docs/jQuery.inArray/index.html @@ -1,6 +1,7 @@ - + +

jQuery.inArray()

diff --git a/experiments/api-viewer/docs/jQuery.isArray/index.html b/experiments/api-viewer/docs/jQuery.isArray/index.html index a1b2f428..f6cae5b8 100644 --- a/experiments/api-viewer/docs/jQuery.isArray/index.html +++ b/experiments/api-viewer/docs/jQuery.isArray/index.html @@ -1,6 +1,7 @@ - + +

jQuery.isArray()

diff --git a/experiments/api-viewer/docs/jQuery.isEmptyObject/index.html b/experiments/api-viewer/docs/jQuery.isEmptyObject/index.html index e8d2feda..5e5de1c3 100644 --- a/experiments/api-viewer/docs/jQuery.isEmptyObject/index.html +++ b/experiments/api-viewer/docs/jQuery.isEmptyObject/index.html @@ -1,6 +1,7 @@ - + +

jQuery.isEmptyObject()

diff --git a/experiments/api-viewer/docs/jQuery.isFunction/index.html b/experiments/api-viewer/docs/jQuery.isFunction/index.html index d8f41b5e..86cbecda 100644 --- a/experiments/api-viewer/docs/jQuery.isFunction/index.html +++ b/experiments/api-viewer/docs/jQuery.isFunction/index.html @@ -1,6 +1,7 @@ - + +

jQuery.isFunction()

diff --git a/experiments/api-viewer/docs/jQuery.isPlainObject/index.html b/experiments/api-viewer/docs/jQuery.isPlainObject/index.html index 72d1d0ad..9b4b7021 100644 --- a/experiments/api-viewer/docs/jQuery.isPlainObject/index.html +++ b/experiments/api-viewer/docs/jQuery.isPlainObject/index.html @@ -1,6 +1,7 @@ - + +

jQuery.isPlainObject()

diff --git a/experiments/api-viewer/docs/jQuery.isXMLDoc/index.html b/experiments/api-viewer/docs/jQuery.isXMLDoc/index.html index 77e348fb..87704c4d 100644 --- a/experiments/api-viewer/docs/jQuery.isXMLDoc/index.html +++ b/experiments/api-viewer/docs/jQuery.isXMLDoc/index.html @@ -1,6 +1,7 @@ - + +

jQuery.isXMLDoc()

diff --git a/experiments/api-viewer/docs/jQuery.makeArray/index.html b/experiments/api-viewer/docs/jQuery.makeArray/index.html index d48a2bf1..2986ceb6 100644 --- a/experiments/api-viewer/docs/jQuery.makeArray/index.html +++ b/experiments/api-viewer/docs/jQuery.makeArray/index.html @@ -1,6 +1,7 @@ - + +

jQuery.makeArray()

diff --git a/experiments/api-viewer/docs/jQuery.map/index.html b/experiments/api-viewer/docs/jQuery.map/index.html index 297e6116..573ebc2f 100644 --- a/experiments/api-viewer/docs/jQuery.map/index.html +++ b/experiments/api-viewer/docs/jQuery.map/index.html @@ -1,6 +1,7 @@ - + +

jQuery.map()

diff --git a/experiments/api-viewer/docs/jQuery.merge/index.html b/experiments/api-viewer/docs/jQuery.merge/index.html index 6f091b21..fdfa80f2 100644 --- a/experiments/api-viewer/docs/jQuery.merge/index.html +++ b/experiments/api-viewer/docs/jQuery.merge/index.html @@ -1,6 +1,7 @@ - + +

jQuery.merge()

diff --git a/experiments/api-viewer/docs/jQuery.noConflict/index.html b/experiments/api-viewer/docs/jQuery.noConflict/index.html index 7d0c5dde..d2dfaa58 100644 --- a/experiments/api-viewer/docs/jQuery.noConflict/index.html +++ b/experiments/api-viewer/docs/jQuery.noConflict/index.html @@ -1,6 +1,7 @@ - + +

jQuery.noConflict()

diff --git a/experiments/api-viewer/docs/jQuery.noop/index.html b/experiments/api-viewer/docs/jQuery.noop/index.html index 9273417c..6b12a110 100644 --- a/experiments/api-viewer/docs/jQuery.noop/index.html +++ b/experiments/api-viewer/docs/jQuery.noop/index.html @@ -1,6 +1,7 @@ - + +

jQuery.noop()

diff --git a/experiments/api-viewer/docs/jQuery.param/index.html b/experiments/api-viewer/docs/jQuery.param/index.html index ba182adf..de4293b8 100644 --- a/experiments/api-viewer/docs/jQuery.param/index.html +++ b/experiments/api-viewer/docs/jQuery.param/index.html @@ -1,6 +1,7 @@ - + +

jQuery.param()

diff --git a/experiments/api-viewer/docs/jQuery.parseJSON/index.html b/experiments/api-viewer/docs/jQuery.parseJSON/index.html index 8856dacd..bb37c588 100644 --- a/experiments/api-viewer/docs/jQuery.parseJSON/index.html +++ b/experiments/api-viewer/docs/jQuery.parseJSON/index.html @@ -1,6 +1,7 @@ - + +

jQuery.parseJSON

diff --git a/experiments/api-viewer/docs/jQuery.post/index.html b/experiments/api-viewer/docs/jQuery.post/index.html index 0bd2e72c..b6093c00 100644 --- a/experiments/api-viewer/docs/jQuery.post/index.html +++ b/experiments/api-viewer/docs/jQuery.post/index.html @@ -1,6 +1,7 @@ - + +

jQuery.post()

diff --git a/experiments/api-viewer/docs/jQuery.proxy/index.html b/experiments/api-viewer/docs/jQuery.proxy/index.html index 203c3d92..2c818279 100644 --- a/experiments/api-viewer/docs/jQuery.proxy/index.html +++ b/experiments/api-viewer/docs/jQuery.proxy/index.html @@ -1,6 +1,7 @@ - + +

jQuery.proxy()

diff --git a/experiments/api-viewer/docs/jQuery.pushStack/index.html b/experiments/api-viewer/docs/jQuery.pushStack/index.html index 0cc9abe1..d87117fa 100644 --- a/experiments/api-viewer/docs/jQuery.pushStack/index.html +++ b/experiments/api-viewer/docs/jQuery.pushStack/index.html @@ -1,6 +1,7 @@ - + +

jQuery.pushStack()

diff --git a/experiments/api-viewer/docs/jQuery.queue/index.html b/experiments/api-viewer/docs/jQuery.queue/index.html index 6b106b96..43bc3787 100644 --- a/experiments/api-viewer/docs/jQuery.queue/index.html +++ b/experiments/api-viewer/docs/jQuery.queue/index.html @@ -1,6 +1,7 @@ - + +

jQuery.queue()

diff --git a/experiments/api-viewer/docs/jQuery.removeData/index.html b/experiments/api-viewer/docs/jQuery.removeData/index.html index 9e5be641..e24451de 100644 --- a/experiments/api-viewer/docs/jQuery.removeData/index.html +++ b/experiments/api-viewer/docs/jQuery.removeData/index.html @@ -1,6 +1,7 @@ - + +

jQuery.removeData()

diff --git a/experiments/api-viewer/docs/jQuery.support/index.html b/experiments/api-viewer/docs/jQuery.support/index.html index add43077..5d0351f7 100644 --- a/experiments/api-viewer/docs/jQuery.support/index.html +++ b/experiments/api-viewer/docs/jQuery.support/index.html @@ -1,6 +1,7 @@ - + +

jQuery.support

diff --git a/experiments/api-viewer/docs/jQuery.trim/index.html b/experiments/api-viewer/docs/jQuery.trim/index.html index 219d2b60..97b94417 100644 --- a/experiments/api-viewer/docs/jQuery.trim/index.html +++ b/experiments/api-viewer/docs/jQuery.trim/index.html @@ -1,6 +1,7 @@ - + +

jQuery.trim()

diff --git a/experiments/api-viewer/docs/jQuery.unique/index.html b/experiments/api-viewer/docs/jQuery.unique/index.html index 6a51d86c..62e511f6 100644 --- a/experiments/api-viewer/docs/jQuery.unique/index.html +++ b/experiments/api-viewer/docs/jQuery.unique/index.html @@ -1,6 +1,7 @@ - + +

jQuery.unique()

diff --git a/experiments/api-viewer/docs/jQuery/index.html b/experiments/api-viewer/docs/jQuery/index.html index d1f4c177..92e7705c 100644 --- a/experiments/api-viewer/docs/jQuery/index.html +++ b/experiments/api-viewer/docs/jQuery/index.html @@ -1,6 +1,7 @@ - + +

jQuery()

diff --git a/experiments/api-viewer/docs/keydown/index.html b/experiments/api-viewer/docs/keydown/index.html index 9f342410..c666fa93 100644 --- a/experiments/api-viewer/docs/keydown/index.html +++ b/experiments/api-viewer/docs/keydown/index.html @@ -1,6 +1,7 @@ - + +

.keydown()

diff --git a/experiments/api-viewer/docs/keypress/index.html b/experiments/api-viewer/docs/keypress/index.html index 9978c215..0def9769 100644 --- a/experiments/api-viewer/docs/keypress/index.html +++ b/experiments/api-viewer/docs/keypress/index.html @@ -1,6 +1,7 @@ - + +

.keypress()

diff --git a/experiments/api-viewer/docs/keyup/index.html b/experiments/api-viewer/docs/keyup/index.html index 958d8956..0a596b7f 100644 --- a/experiments/api-viewer/docs/keyup/index.html +++ b/experiments/api-viewer/docs/keyup/index.html @@ -1,6 +1,7 @@ - + +

.keyup()

diff --git a/experiments/api-viewer/docs/last-child-selector/index.html b/experiments/api-viewer/docs/last-child-selector/index.html index 3bb01212..e92b53ea 100644 --- a/experiments/api-viewer/docs/last-child-selector/index.html +++ b/experiments/api-viewer/docs/last-child-selector/index.html @@ -1,6 +1,7 @@ - + +

:last-child Selector

diff --git a/experiments/api-viewer/docs/last-selector/index.html b/experiments/api-viewer/docs/last-selector/index.html index 94fe2342..60384a51 100644 --- a/experiments/api-viewer/docs/last-selector/index.html +++ b/experiments/api-viewer/docs/last-selector/index.html @@ -1,6 +1,7 @@ - + +

:last Selector

diff --git a/experiments/api-viewer/docs/last/index.html b/experiments/api-viewer/docs/last/index.html index 6555a2b1..786202b5 100644 --- a/experiments/api-viewer/docs/last/index.html +++ b/experiments/api-viewer/docs/last/index.html @@ -1,6 +1,7 @@ - + +

.last()

diff --git a/experiments/api-viewer/docs/length/index.html b/experiments/api-viewer/docs/length/index.html index 74104d7e..c5c3c58c 100644 --- a/experiments/api-viewer/docs/length/index.html +++ b/experiments/api-viewer/docs/length/index.html @@ -1,6 +1,7 @@ - + +

.length

diff --git a/experiments/api-viewer/docs/live/index.html b/experiments/api-viewer/docs/live/index.html index 9d146df1..4cbbbce3 100644 --- a/experiments/api-viewer/docs/live/index.html +++ b/experiments/api-viewer/docs/live/index.html @@ -1,6 +1,7 @@ - + +

.live()

diff --git a/experiments/api-viewer/docs/load-event/index.html b/experiments/api-viewer/docs/load-event/index.html index e998eeb6..a15336d3 100644 --- a/experiments/api-viewer/docs/load-event/index.html +++ b/experiments/api-viewer/docs/load-event/index.html @@ -1,6 +1,7 @@ - + +

.load()

diff --git a/experiments/api-viewer/docs/load/index.html b/experiments/api-viewer/docs/load/index.html index 1726a103..a67695b7 100644 --- a/experiments/api-viewer/docs/load/index.html +++ b/experiments/api-viewer/docs/load/index.html @@ -1,6 +1,7 @@ - + +

.load()

diff --git a/experiments/api-viewer/docs/lt-selector/index.html b/experiments/api-viewer/docs/lt-selector/index.html index 917ed0a5..035ba347 100644 --- a/experiments/api-viewer/docs/lt-selector/index.html +++ b/experiments/api-viewer/docs/lt-selector/index.html @@ -1,6 +1,7 @@ - + +

:lt() Selector

diff --git a/experiments/api-viewer/docs/map/index.html b/experiments/api-viewer/docs/map/index.html index ec1596b8..4eda8eb6 100644 --- a/experiments/api-viewer/docs/map/index.html +++ b/experiments/api-viewer/docs/map/index.html @@ -1,6 +1,7 @@ - + +

.map()

diff --git a/experiments/api-viewer/docs/mousedown/index.html b/experiments/api-viewer/docs/mousedown/index.html index eaf2e478..0e7be604 100644 --- a/experiments/api-viewer/docs/mousedown/index.html +++ b/experiments/api-viewer/docs/mousedown/index.html @@ -1,6 +1,7 @@ - + +

.mousedown()

diff --git a/experiments/api-viewer/docs/mouseenter/index.html b/experiments/api-viewer/docs/mouseenter/index.html index cccc4a46..67b2cf06 100644 --- a/experiments/api-viewer/docs/mouseenter/index.html +++ b/experiments/api-viewer/docs/mouseenter/index.html @@ -1,6 +1,7 @@ - + +

.mouseenter()

diff --git a/experiments/api-viewer/docs/mouseleave/index.html b/experiments/api-viewer/docs/mouseleave/index.html index 728cf8a9..e562ffe8 100644 --- a/experiments/api-viewer/docs/mouseleave/index.html +++ b/experiments/api-viewer/docs/mouseleave/index.html @@ -1,6 +1,7 @@ - + +

.mouseleave()

diff --git a/experiments/api-viewer/docs/mousemove/index.html b/experiments/api-viewer/docs/mousemove/index.html index 2f01a4fd..a8bcfdac 100644 --- a/experiments/api-viewer/docs/mousemove/index.html +++ b/experiments/api-viewer/docs/mousemove/index.html @@ -1,6 +1,7 @@ - + +

.mousemove()

diff --git a/experiments/api-viewer/docs/mouseout/index.html b/experiments/api-viewer/docs/mouseout/index.html index 819a9d78..ba795063 100644 --- a/experiments/api-viewer/docs/mouseout/index.html +++ b/experiments/api-viewer/docs/mouseout/index.html @@ -1,6 +1,7 @@ - + +

.mouseout()

diff --git a/experiments/api-viewer/docs/mouseover/index.html b/experiments/api-viewer/docs/mouseover/index.html index 01163a94..e0c09020 100644 --- a/experiments/api-viewer/docs/mouseover/index.html +++ b/experiments/api-viewer/docs/mouseover/index.html @@ -1,6 +1,7 @@ - + +

.mouseover()

diff --git a/experiments/api-viewer/docs/mouseup/index.html b/experiments/api-viewer/docs/mouseup/index.html index 30b40405..14e12476 100644 --- a/experiments/api-viewer/docs/mouseup/index.html +++ b/experiments/api-viewer/docs/mouseup/index.html @@ -1,6 +1,7 @@ - + +

.mouseup()

diff --git a/experiments/api-viewer/docs/multiple-attribute-selector/index.html b/experiments/api-viewer/docs/multiple-attribute-selector/index.html index 05ca6998..aa83913e 100644 --- a/experiments/api-viewer/docs/multiple-attribute-selector/index.html +++ b/experiments/api-viewer/docs/multiple-attribute-selector/index.html @@ -1,6 +1,7 @@ - + +

Multiple Attribute Selector [name=value][name2=value2]

diff --git a/experiments/api-viewer/docs/multiple-selector/index.html b/experiments/api-viewer/docs/multiple-selector/index.html index 8dafd1b2..319e6f70 100644 --- a/experiments/api-viewer/docs/multiple-selector/index.html +++ b/experiments/api-viewer/docs/multiple-selector/index.html @@ -1,6 +1,7 @@ - + +

Multiple Selector (“selector1, selector2, selectorN”)

diff --git a/experiments/api-viewer/docs/next-adjacent-Selector/index.html b/experiments/api-viewer/docs/next-adjacent-Selector/index.html index f65cb2f3..91ae326a 100644 --- a/experiments/api-viewer/docs/next-adjacent-Selector/index.html +++ b/experiments/api-viewer/docs/next-adjacent-Selector/index.html @@ -1,6 +1,7 @@ - + +

Next Adjacent Selector (“prev + next”)

diff --git a/experiments/api-viewer/docs/next-siblings-selector/index.html b/experiments/api-viewer/docs/next-siblings-selector/index.html index 02674751..fc1b971d 100644 --- a/experiments/api-viewer/docs/next-siblings-selector/index.html +++ b/experiments/api-viewer/docs/next-siblings-selector/index.html @@ -1,6 +1,7 @@ - + +

Next Siblings Selector (“prev ~ siblings”)

diff --git a/experiments/api-viewer/docs/next/index.html b/experiments/api-viewer/docs/next/index.html index a2185b8f..53c8c816 100644 --- a/experiments/api-viewer/docs/next/index.html +++ b/experiments/api-viewer/docs/next/index.html @@ -1,6 +1,7 @@ - + +

.next()

diff --git a/experiments/api-viewer/docs/nextAll/index.html b/experiments/api-viewer/docs/nextAll/index.html index 1f59c2e0..3a4b0049 100644 --- a/experiments/api-viewer/docs/nextAll/index.html +++ b/experiments/api-viewer/docs/nextAll/index.html @@ -1,6 +1,7 @@ - + +

.nextAll()

diff --git a/experiments/api-viewer/docs/nextUntil/index.html b/experiments/api-viewer/docs/nextUntil/index.html index 2237e3a0..047e6fc3 100644 --- a/experiments/api-viewer/docs/nextUntil/index.html +++ b/experiments/api-viewer/docs/nextUntil/index.html @@ -1,6 +1,7 @@ - + +

.nextUntil()

diff --git a/experiments/api-viewer/docs/not-selector/index.html b/experiments/api-viewer/docs/not-selector/index.html index f7e90b35..05631966 100644 --- a/experiments/api-viewer/docs/not-selector/index.html +++ b/experiments/api-viewer/docs/not-selector/index.html @@ -1,6 +1,7 @@ - + +

:not() Selector

diff --git a/experiments/api-viewer/docs/not/index.html b/experiments/api-viewer/docs/not/index.html index 13cfd28c..7e125e5e 100644 --- a/experiments/api-viewer/docs/not/index.html +++ b/experiments/api-viewer/docs/not/index.html @@ -1,6 +1,7 @@ - + +

.not()

diff --git a/experiments/api-viewer/docs/nth-child-selector/index.html b/experiments/api-viewer/docs/nth-child-selector/index.html index 1f9e42e4..ddfe747f 100644 --- a/experiments/api-viewer/docs/nth-child-selector/index.html +++ b/experiments/api-viewer/docs/nth-child-selector/index.html @@ -1,6 +1,7 @@ - + +

:nth-child Selector

diff --git a/experiments/api-viewer/docs/odd-selector/index.html b/experiments/api-viewer/docs/odd-selector/index.html index 9bdc12be..cc4ecf55 100644 --- a/experiments/api-viewer/docs/odd-selector/index.html +++ b/experiments/api-viewer/docs/odd-selector/index.html @@ -1,6 +1,7 @@ - + +

:odd Selector

diff --git a/experiments/api-viewer/docs/offset/index.html b/experiments/api-viewer/docs/offset/index.html index 59654e58..f425c560 100644 --- a/experiments/api-viewer/docs/offset/index.html +++ b/experiments/api-viewer/docs/offset/index.html @@ -1,6 +1,7 @@ - + +

.offset()

diff --git a/experiments/api-viewer/docs/offsetParent/index.html b/experiments/api-viewer/docs/offsetParent/index.html index 37b60304..90ea5f9d 100644 --- a/experiments/api-viewer/docs/offsetParent/index.html +++ b/experiments/api-viewer/docs/offsetParent/index.html @@ -1,6 +1,7 @@ - + +

.offsetParent()

diff --git a/experiments/api-viewer/docs/one/index.html b/experiments/api-viewer/docs/one/index.html index 2cef3285..d2fffc36 100644 --- a/experiments/api-viewer/docs/one/index.html +++ b/experiments/api-viewer/docs/one/index.html @@ -1,6 +1,7 @@ - + +

.one()

diff --git a/experiments/api-viewer/docs/only-child-selector/index.html b/experiments/api-viewer/docs/only-child-selector/index.html index 5e2e34ee..aa038557 100644 --- a/experiments/api-viewer/docs/only-child-selector/index.html +++ b/experiments/api-viewer/docs/only-child-selector/index.html @@ -1,6 +1,7 @@ - + +

:only-child Selector

diff --git a/experiments/api-viewer/docs/outerHeight/index.html b/experiments/api-viewer/docs/outerHeight/index.html index 7dda53cf..9a699a8e 100644 --- a/experiments/api-viewer/docs/outerHeight/index.html +++ b/experiments/api-viewer/docs/outerHeight/index.html @@ -1,6 +1,7 @@ - + +

.outerHeight()

diff --git a/experiments/api-viewer/docs/outerWidth/index.html b/experiments/api-viewer/docs/outerWidth/index.html index e8bdf2ad..dabd7360 100644 --- a/experiments/api-viewer/docs/outerWidth/index.html +++ b/experiments/api-viewer/docs/outerWidth/index.html @@ -1,6 +1,7 @@ - + +

.outerWidth()

diff --git a/experiments/api-viewer/docs/parent-selector/index.html b/experiments/api-viewer/docs/parent-selector/index.html index fedc641d..a74217e2 100644 --- a/experiments/api-viewer/docs/parent-selector/index.html +++ b/experiments/api-viewer/docs/parent-selector/index.html @@ -1,6 +1,7 @@ - + +

:parent Selector

diff --git a/experiments/api-viewer/docs/parent/index.html b/experiments/api-viewer/docs/parent/index.html index a6844de9..4b2a73d0 100644 --- a/experiments/api-viewer/docs/parent/index.html +++ b/experiments/api-viewer/docs/parent/index.html @@ -1,6 +1,7 @@ - + +

.parent()

diff --git a/experiments/api-viewer/docs/parents/index.html b/experiments/api-viewer/docs/parents/index.html index ab7d4699..90aa375e 100644 --- a/experiments/api-viewer/docs/parents/index.html +++ b/experiments/api-viewer/docs/parents/index.html @@ -1,6 +1,7 @@ - + +

.parents()

diff --git a/experiments/api-viewer/docs/parentsUntil/index.html b/experiments/api-viewer/docs/parentsUntil/index.html index 1e25719c..449baabe 100644 --- a/experiments/api-viewer/docs/parentsUntil/index.html +++ b/experiments/api-viewer/docs/parentsUntil/index.html @@ -1,6 +1,7 @@ - + +

.parentsUntil()

diff --git a/experiments/api-viewer/docs/password-selector/index.html b/experiments/api-viewer/docs/password-selector/index.html index 8670ec82..0ddb4cfb 100644 --- a/experiments/api-viewer/docs/password-selector/index.html +++ b/experiments/api-viewer/docs/password-selector/index.html @@ -1,6 +1,7 @@ - + +

:password Selector

diff --git a/experiments/api-viewer/docs/position/index.html b/experiments/api-viewer/docs/position/index.html index e96867db..d10b63d1 100644 --- a/experiments/api-viewer/docs/position/index.html +++ b/experiments/api-viewer/docs/position/index.html @@ -1,6 +1,7 @@ - + +

.position()

diff --git a/experiments/api-viewer/docs/prepend/index.html b/experiments/api-viewer/docs/prepend/index.html index f646d5a7..0b844869 100644 --- a/experiments/api-viewer/docs/prepend/index.html +++ b/experiments/api-viewer/docs/prepend/index.html @@ -1,6 +1,7 @@ - + +

.prepend()

diff --git a/experiments/api-viewer/docs/prependTo/index.html b/experiments/api-viewer/docs/prependTo/index.html index 29dc1a11..d9cfd0f1 100644 --- a/experiments/api-viewer/docs/prependTo/index.html +++ b/experiments/api-viewer/docs/prependTo/index.html @@ -1,6 +1,7 @@ - + +

.prependTo()

diff --git a/experiments/api-viewer/docs/prev/index.html b/experiments/api-viewer/docs/prev/index.html index a5d57c02..5dfe8201 100644 --- a/experiments/api-viewer/docs/prev/index.html +++ b/experiments/api-viewer/docs/prev/index.html @@ -1,6 +1,7 @@ - + +

.prev()

diff --git a/experiments/api-viewer/docs/prevAll/index.html b/experiments/api-viewer/docs/prevAll/index.html index 6ba09c0c..bc8f2a18 100644 --- a/experiments/api-viewer/docs/prevAll/index.html +++ b/experiments/api-viewer/docs/prevAll/index.html @@ -1,6 +1,7 @@ - + +

.prevAll()

diff --git a/experiments/api-viewer/docs/prevUntil/index.html b/experiments/api-viewer/docs/prevUntil/index.html index 7ecce381..695724b9 100644 --- a/experiments/api-viewer/docs/prevUntil/index.html +++ b/experiments/api-viewer/docs/prevUntil/index.html @@ -1,6 +1,7 @@ - + +

.prevUntil()

diff --git a/experiments/api-viewer/docs/queue/index.html b/experiments/api-viewer/docs/queue/index.html index 5151e7f7..78cc2b02 100644 --- a/experiments/api-viewer/docs/queue/index.html +++ b/experiments/api-viewer/docs/queue/index.html @@ -1,6 +1,7 @@ - + +

.queue()

diff --git a/experiments/api-viewer/docs/radio-selector/index.html b/experiments/api-viewer/docs/radio-selector/index.html index 09158b08..3cf38c66 100644 --- a/experiments/api-viewer/docs/radio-selector/index.html +++ b/experiments/api-viewer/docs/radio-selector/index.html @@ -1,6 +1,7 @@ - + +

:radio Selector

diff --git a/experiments/api-viewer/docs/ready/index.html b/experiments/api-viewer/docs/ready/index.html index 2b61a06c..ded67215 100644 --- a/experiments/api-viewer/docs/ready/index.html +++ b/experiments/api-viewer/docs/ready/index.html @@ -1,6 +1,7 @@ - + +

.ready()

diff --git a/experiments/api-viewer/docs/remove/index.html b/experiments/api-viewer/docs/remove/index.html index e6412f4c..9ebfb1e3 100644 --- a/experiments/api-viewer/docs/remove/index.html +++ b/experiments/api-viewer/docs/remove/index.html @@ -1,6 +1,7 @@ - + +

.remove()

diff --git a/experiments/api-viewer/docs/removeAttr/index.html b/experiments/api-viewer/docs/removeAttr/index.html index 4939b34b..0358f921 100644 --- a/experiments/api-viewer/docs/removeAttr/index.html +++ b/experiments/api-viewer/docs/removeAttr/index.html @@ -1,6 +1,7 @@ - + +

.removeAttr()

diff --git a/experiments/api-viewer/docs/removeClass/index.html b/experiments/api-viewer/docs/removeClass/index.html index 3f8d2674..ef433ced 100644 --- a/experiments/api-viewer/docs/removeClass/index.html +++ b/experiments/api-viewer/docs/removeClass/index.html @@ -1,6 +1,7 @@ - + +

.removeClass()

diff --git a/experiments/api-viewer/docs/removeData/index.html b/experiments/api-viewer/docs/removeData/index.html index a7756bfa..f15c0bdd 100644 --- a/experiments/api-viewer/docs/removeData/index.html +++ b/experiments/api-viewer/docs/removeData/index.html @@ -1,6 +1,7 @@ - + +

.removeData()

diff --git a/experiments/api-viewer/docs/replaceAll/index.html b/experiments/api-viewer/docs/replaceAll/index.html index 9a685504..7e22e171 100644 --- a/experiments/api-viewer/docs/replaceAll/index.html +++ b/experiments/api-viewer/docs/replaceAll/index.html @@ -1,6 +1,7 @@ - + +

.replaceAll()

diff --git a/experiments/api-viewer/docs/replaceWith/index.html b/experiments/api-viewer/docs/replaceWith/index.html index 2c707a15..73a6833e 100644 --- a/experiments/api-viewer/docs/replaceWith/index.html +++ b/experiments/api-viewer/docs/replaceWith/index.html @@ -1,6 +1,7 @@ - + +

.replaceWith()

diff --git a/experiments/api-viewer/docs/reset-selector/index.html b/experiments/api-viewer/docs/reset-selector/index.html index 467ca549..0fff54ee 100644 --- a/experiments/api-viewer/docs/reset-selector/index.html +++ b/experiments/api-viewer/docs/reset-selector/index.html @@ -1,6 +1,7 @@ - + +

:reset Selector

diff --git a/experiments/api-viewer/docs/resize/index.html b/experiments/api-viewer/docs/resize/index.html index 45d7533c..5e1af74c 100644 --- a/experiments/api-viewer/docs/resize/index.html +++ b/experiments/api-viewer/docs/resize/index.html @@ -1,6 +1,7 @@ - + +

.resize()

diff --git a/experiments/api-viewer/docs/scroll/index.html b/experiments/api-viewer/docs/scroll/index.html index 6c652160..59460ea4 100644 --- a/experiments/api-viewer/docs/scroll/index.html +++ b/experiments/api-viewer/docs/scroll/index.html @@ -1,6 +1,7 @@ - + +

.scroll()

diff --git a/experiments/api-viewer/docs/scrollLeft/index.html b/experiments/api-viewer/docs/scrollLeft/index.html index 9c875958..f4c56248 100644 --- a/experiments/api-viewer/docs/scrollLeft/index.html +++ b/experiments/api-viewer/docs/scrollLeft/index.html @@ -1,6 +1,7 @@ - + +

.scrollLeft()

diff --git a/experiments/api-viewer/docs/scrollTop/index.html b/experiments/api-viewer/docs/scrollTop/index.html index 6531eb2e..209e3bed 100644 --- a/experiments/api-viewer/docs/scrollTop/index.html +++ b/experiments/api-viewer/docs/scrollTop/index.html @@ -1,6 +1,7 @@ - + +

.scrollTop()

diff --git a/experiments/api-viewer/docs/select/index.html b/experiments/api-viewer/docs/select/index.html index f73b3632..d754ecc7 100644 --- a/experiments/api-viewer/docs/select/index.html +++ b/experiments/api-viewer/docs/select/index.html @@ -1,6 +1,7 @@ - + +

.select()

diff --git a/experiments/api-viewer/docs/selected-selector/index.html b/experiments/api-viewer/docs/selected-selector/index.html index 29fb0a6c..709905b5 100644 --- a/experiments/api-viewer/docs/selected-selector/index.html +++ b/experiments/api-viewer/docs/selected-selector/index.html @@ -1,6 +1,7 @@ - + +

:selected Selector

diff --git a/experiments/api-viewer/docs/selector/index.html b/experiments/api-viewer/docs/selector/index.html index c3e5a355..2645d3f4 100644 --- a/experiments/api-viewer/docs/selector/index.html +++ b/experiments/api-viewer/docs/selector/index.html @@ -1,6 +1,7 @@ - + +

.selector

diff --git a/experiments/api-viewer/docs/serialize/index.html b/experiments/api-viewer/docs/serialize/index.html index e1dc4a95..bb55536f 100644 --- a/experiments/api-viewer/docs/serialize/index.html +++ b/experiments/api-viewer/docs/serialize/index.html @@ -1,6 +1,7 @@ - + +

.serialize()

diff --git a/experiments/api-viewer/docs/serializeArray/index.html b/experiments/api-viewer/docs/serializeArray/index.html index c06c4307..598d49a7 100644 --- a/experiments/api-viewer/docs/serializeArray/index.html +++ b/experiments/api-viewer/docs/serializeArray/index.html @@ -1,6 +1,7 @@ - + +

.serializeArray()

diff --git a/experiments/api-viewer/docs/show/index.html b/experiments/api-viewer/docs/show/index.html index c04675e6..639fb4b9 100644 --- a/experiments/api-viewer/docs/show/index.html +++ b/experiments/api-viewer/docs/show/index.html @@ -1,6 +1,7 @@ - + +

.show()

diff --git a/experiments/api-viewer/docs/siblings/index.html b/experiments/api-viewer/docs/siblings/index.html index 8883bdfc..668b9cdd 100644 --- a/experiments/api-viewer/docs/siblings/index.html +++ b/experiments/api-viewer/docs/siblings/index.html @@ -1,6 +1,7 @@ - + +

.siblings()

diff --git a/experiments/api-viewer/docs/size/index.html b/experiments/api-viewer/docs/size/index.html index 1f31707a..2d5119e9 100644 --- a/experiments/api-viewer/docs/size/index.html +++ b/experiments/api-viewer/docs/size/index.html @@ -1,6 +1,7 @@ - + +

.size()

diff --git a/experiments/api-viewer/docs/slice/index.html b/experiments/api-viewer/docs/slice/index.html index 57c4e3d3..4db3ffd5 100644 --- a/experiments/api-viewer/docs/slice/index.html +++ b/experiments/api-viewer/docs/slice/index.html @@ -1,6 +1,7 @@ - + +

.slice()

diff --git a/experiments/api-viewer/docs/slideDown/index.html b/experiments/api-viewer/docs/slideDown/index.html index 4da6b26c..99266ed2 100644 --- a/experiments/api-viewer/docs/slideDown/index.html +++ b/experiments/api-viewer/docs/slideDown/index.html @@ -1,6 +1,7 @@ - + +

.slideDown()

diff --git a/experiments/api-viewer/docs/slideToggle/index.html b/experiments/api-viewer/docs/slideToggle/index.html index 18b65bf2..188dbcc7 100644 --- a/experiments/api-viewer/docs/slideToggle/index.html +++ b/experiments/api-viewer/docs/slideToggle/index.html @@ -1,6 +1,7 @@ - + +

.slideToggle()

diff --git a/experiments/api-viewer/docs/slideUp/index.html b/experiments/api-viewer/docs/slideUp/index.html index 6167fd39..abcffb88 100644 --- a/experiments/api-viewer/docs/slideUp/index.html +++ b/experiments/api-viewer/docs/slideUp/index.html @@ -1,6 +1,7 @@ - + +

.slideUp()

diff --git a/experiments/api-viewer/docs/stop/index.html b/experiments/api-viewer/docs/stop/index.html index 6de91c0c..b079fedd 100644 --- a/experiments/api-viewer/docs/stop/index.html +++ b/experiments/api-viewer/docs/stop/index.html @@ -1,6 +1,7 @@ - + +

.stop()

diff --git a/experiments/api-viewer/docs/submit-selector/index.html b/experiments/api-viewer/docs/submit-selector/index.html index a7f16296..a57191e6 100644 --- a/experiments/api-viewer/docs/submit-selector/index.html +++ b/experiments/api-viewer/docs/submit-selector/index.html @@ -1,6 +1,7 @@ - + +

:submit Selector

diff --git a/experiments/api-viewer/docs/submit/index.html b/experiments/api-viewer/docs/submit/index.html index 066165c2..590a5634 100644 --- a/experiments/api-viewer/docs/submit/index.html +++ b/experiments/api-viewer/docs/submit/index.html @@ -1,6 +1,7 @@ - + +

.submit()

diff --git a/experiments/api-viewer/docs/text-selector/index.html b/experiments/api-viewer/docs/text-selector/index.html index 93ab551d..3824304f 100644 --- a/experiments/api-viewer/docs/text-selector/index.html +++ b/experiments/api-viewer/docs/text-selector/index.html @@ -1,6 +1,7 @@ - + +

:text Selector

diff --git a/experiments/api-viewer/docs/text/index.html b/experiments/api-viewer/docs/text/index.html index e05e6f15..bc228385 100644 --- a/experiments/api-viewer/docs/text/index.html +++ b/experiments/api-viewer/docs/text/index.html @@ -1,6 +1,7 @@ - + +

.text()

diff --git a/experiments/api-viewer/docs/toArray/index.html b/experiments/api-viewer/docs/toArray/index.html index 71790bb8..c0acc022 100644 --- a/experiments/api-viewer/docs/toArray/index.html +++ b/experiments/api-viewer/docs/toArray/index.html @@ -1,6 +1,7 @@ - + +

.toArray()

diff --git a/experiments/api-viewer/docs/toggle/index.html b/experiments/api-viewer/docs/toggle/index.html index 4d39a2e0..eabe64a0 100644 --- a/experiments/api-viewer/docs/toggle/index.html +++ b/experiments/api-viewer/docs/toggle/index.html @@ -1,6 +1,7 @@ - + +

.toggle()

diff --git a/experiments/api-viewer/docs/toggleClass/index.html b/experiments/api-viewer/docs/toggleClass/index.html index 4ef7a966..7c52758a 100644 --- a/experiments/api-viewer/docs/toggleClass/index.html +++ b/experiments/api-viewer/docs/toggleClass/index.html @@ -1,6 +1,7 @@ - + +

.toggleClass()

diff --git a/experiments/api-viewer/docs/trigger/index.html b/experiments/api-viewer/docs/trigger/index.html index d93f2559..f2dfe5a6 100644 --- a/experiments/api-viewer/docs/trigger/index.html +++ b/experiments/api-viewer/docs/trigger/index.html @@ -1,6 +1,7 @@ - + +

.trigger()

diff --git a/experiments/api-viewer/docs/triggerHandler/index.html b/experiments/api-viewer/docs/triggerHandler/index.html index 85b8b1c2..c2c3ea18 100644 --- a/experiments/api-viewer/docs/triggerHandler/index.html +++ b/experiments/api-viewer/docs/triggerHandler/index.html @@ -1,6 +1,7 @@ - + +

.triggerHandler()

diff --git a/experiments/api-viewer/docs/unbind/index.html b/experiments/api-viewer/docs/unbind/index.html index c4e2c7e4..36e1acf9 100644 --- a/experiments/api-viewer/docs/unbind/index.html +++ b/experiments/api-viewer/docs/unbind/index.html @@ -1,6 +1,7 @@ - + +

.unbind()

diff --git a/experiments/api-viewer/docs/undelegate/index.html b/experiments/api-viewer/docs/undelegate/index.html index e4921d24..990a5ffb 100644 --- a/experiments/api-viewer/docs/undelegate/index.html +++ b/experiments/api-viewer/docs/undelegate/index.html @@ -1,6 +1,7 @@ - + +

.undelegate()

diff --git a/experiments/api-viewer/docs/unload/index.html b/experiments/api-viewer/docs/unload/index.html index 1d56fd2b..3aa363cf 100644 --- a/experiments/api-viewer/docs/unload/index.html +++ b/experiments/api-viewer/docs/unload/index.html @@ -1,6 +1,7 @@ - + +

.unload()

diff --git a/experiments/api-viewer/docs/unwrap/index.html b/experiments/api-viewer/docs/unwrap/index.html index 2d48ff9f..c41afced 100644 --- a/experiments/api-viewer/docs/unwrap/index.html +++ b/experiments/api-viewer/docs/unwrap/index.html @@ -1,6 +1,7 @@ - + +

.unwrap()

diff --git a/experiments/api-viewer/docs/val/index.html b/experiments/api-viewer/docs/val/index.html index 6cd075e3..a900a4b9 100644 --- a/experiments/api-viewer/docs/val/index.html +++ b/experiments/api-viewer/docs/val/index.html @@ -1,6 +1,7 @@ - + +

.val()

diff --git a/experiments/api-viewer/docs/visible-selector/index.html b/experiments/api-viewer/docs/visible-selector/index.html index 5af1ac6e..acfc8cdd 100644 --- a/experiments/api-viewer/docs/visible-selector/index.html +++ b/experiments/api-viewer/docs/visible-selector/index.html @@ -1,6 +1,7 @@ - + +

:visible Selector

diff --git a/experiments/api-viewer/docs/width/index.html b/experiments/api-viewer/docs/width/index.html index b687b2e3..c4da7a3c 100644 --- a/experiments/api-viewer/docs/width/index.html +++ b/experiments/api-viewer/docs/width/index.html @@ -1,6 +1,7 @@ - + +

.width()

diff --git a/experiments/api-viewer/docs/wrap/index.html b/experiments/api-viewer/docs/wrap/index.html index 253867bb..2a8b0ad5 100644 --- a/experiments/api-viewer/docs/wrap/index.html +++ b/experiments/api-viewer/docs/wrap/index.html @@ -1,6 +1,7 @@ - + +

.wrap()

diff --git a/experiments/api-viewer/docs/wrapAll/index.html b/experiments/api-viewer/docs/wrapAll/index.html index f659e630..410389a9 100644 --- a/experiments/api-viewer/docs/wrapAll/index.html +++ b/experiments/api-viewer/docs/wrapAll/index.html @@ -1,6 +1,7 @@ - + +

.wrapAll()

diff --git a/experiments/api-viewer/docs/wrapInner/index.html b/experiments/api-viewer/docs/wrapInner/index.html index 4004ed84..8b7e9bb4 100644 --- a/experiments/api-viewer/docs/wrapInner/index.html +++ b/experiments/api-viewer/docs/wrapInner/index.html @@ -1,6 +1,7 @@ - + +

.wrapInner()

diff --git a/experiments/api-viewer/index.html b/experiments/api-viewer/index.html index 922f683d..68185ff3 100644 --- a/experiments/api-viewer/index.html +++ b/experiments/api-viewer/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Listview Examples diff --git a/experiments/converter/index.html b/experiments/converter/index.html index da7b24c4..213ce5f3 100644 --- a/experiments/converter/index.html +++ b/experiments/converter/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Converter Demo Application diff --git a/experiments/google-maps/index.html b/experiments/google-maps/index.html index 3ce524cf..10c6fc96 100644 --- a/experiments/google-maps/index.html +++ b/experiments/google-maps/index.html @@ -1,7 +1,8 @@ - + + Main Page diff --git a/experiments/google-maps/map.html b/experiments/google-maps/map.html index bace673e..bab5b907 100644 --- a/experiments/google-maps/map.html +++ b/experiments/google-maps/map.html @@ -1,7 +1,8 @@ - + + Main Page diff --git a/experiments/navbar-glyphish/index.html b/experiments/navbar-glyphish/index.html index fd88e45f..e9943500 100644 --- a/experiments/navbar-glyphish/index.html +++ b/experiments/navbar-glyphish/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - navbar Example diff --git a/experiments/photos/_photo2.html b/experiments/photos/_photo2.html index d8f23157..dc3ad721 100644 --- a/experiments/photos/_photo2.html +++ b/experiments/photos/_photo2.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/photos/_photo3.html b/experiments/photos/_photo3.html index e639dcb2..32bdbfa3 100644 --- a/experiments/photos/_photo3.html +++ b/experiments/photos/_photo3.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/photos/_photo4.html b/experiments/photos/_photo4.html index deee7aeb..924d6263 100644 --- a/experiments/photos/_photo4.html +++ b/experiments/photos/_photo4.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/photos/_photo5.html b/experiments/photos/_photo5.html index 483d8ff8..04d8de77 100644 --- a/experiments/photos/_photo5.html +++ b/experiments/photos/_photo5.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/photos/_photo6.html b/experiments/photos/_photo6.html index e1a17975..2ae6fc9b 100644 --- a/experiments/photos/_photo6.html +++ b/experiments/photos/_photo6.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/photos/index.html b/experiments/photos/index.html index 55c370cc..609f2757 100644 --- a/experiments/photos/index.html +++ b/experiments/photos/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Photo 1 diff --git a/experiments/scrollview/index.html b/experiments/scrollview/index.html index c93ee575..7809ae3b 100644 --- a/experiments/scrollview/index.html +++ b/experiments/scrollview/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile: Scrollview Demos and Tests diff --git a/experiments/scrollview/lists-divider.html b/experiments/scrollview/lists-divider.html index c47bbb02..b0fb449e 100644 --- a/experiments/scrollview/lists-divider.html +++ b/experiments/scrollview/lists-divider.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/experiments/scrollview/scrollview-direction.html b/experiments/scrollview/scrollview-direction.html index af08e8da..70307d2e 100644 --- a/experiments/scrollview/scrollview-direction.html +++ b/experiments/scrollview/scrollview-direction.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/experiments/scrollview/scrollview-nested.html b/experiments/scrollview/scrollview-nested.html index bfda9822..ad130dcb 100644 --- a/experiments/scrollview/scrollview-nested.html +++ b/experiments/scrollview/scrollview-nested.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/experiments/scrollview/sv-test-01.html b/experiments/scrollview/sv-test-01.html index 2ee6b5ac..dec27efc 100644 --- a/experiments/scrollview/sv-test-01.html +++ b/experiments/scrollview/sv-test-01.html @@ -1,7 +1,8 @@ - + + Scrollview Test 1 - Form Element Event Test diff --git a/experiments/scrollview/sv-test-02.html b/experiments/scrollview/sv-test-02.html index 9929ec85..f4c65d06 100644 --- a/experiments/scrollview/sv-test-02.html +++ b/experiments/scrollview/sv-test-02.html @@ -1,7 +1,8 @@ - + + Scrollview Test 02 - Scrollview Events Test diff --git a/experiments/ui-datepicker/index.html b/experiments/ui-datepicker/index.html index 68ca44fd..1d08023c 100644 --- a/experiments/ui-datepicker/index.html +++ b/experiments/ui-datepicker/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Framework - Datepicker diff --git a/experiments/weather/index.php b/experiments/weather/index.php index 14066bb2..5b74cbb1 100644 --- a/experiments/weather/index.php +++ b/experiments/weather/index.php @@ -19,7 +19,8 @@ $forecast_list = $xml->xpath("/xml_api_reply/weather/forecast_conditions"); - + + jQuery Mobile Framework - Weather for <?= $information[0]->city['data']; ?> diff --git a/index.html b/index.html index 40908a5f..493a997a 100755 --- a/index.html +++ b/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile: Demos and Documentation diff --git a/tests/functional/addrbar.html b/tests/functional/addrbar.html index c8f452d6..05321832 100755 --- a/tests/functional/addrbar.html +++ b/tests/functional/addrbar.html @@ -1,7 +1,8 @@ - + + jQuery Mobile: Event Logger diff --git a/tests/functional/eventlogger.html b/tests/functional/eventlogger.html index 39c7664f..0cd9078f 100755 --- a/tests/functional/eventlogger.html +++ b/tests/functional/eventlogger.html @@ -1,7 +1,8 @@ - + + jQuery Mobile: Event Logger diff --git a/tests/speed/basic-page.html b/tests/speed/basic-page.html index 11aaccab..3a8846d3 100644 --- a/tests/speed/basic-page.html +++ b/tests/speed/basic-page.html @@ -1,7 +1,8 @@ - + + Basic Page diff --git a/tests/speed/lists-ul.html b/tests/speed/lists-ul.html index ac341e09..d4b27b69 100755 --- a/tests/speed/lists-ul.html +++ b/tests/speed/lists-ul.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Docs - Lists diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index 7848f8b1..f3866bf0 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -8,6 +8,13 @@ extendFn = $.extend; module(libName, { + setup: function(){ + // NOTE reset for gradeA tests + $('html').removeClass('ui-mobile'); + + // NOTE reset for pageLoading tests + $('.ui-loader').remove(); + }, teardown: function(){ $.extend = extendFn; } @@ -23,5 +30,103 @@ $.testHelper.reloadLib(libName); ok($.mobile.gradeA()); }); + + test( "loading the core library triggers mobilinit on the document", function(){ + expect( 1 ); + + $(window.document).bind('mobileinit', function(event){ + ok(true); + }); + + $.testHelper.reloadLib(libName); + }); + + test( "enhancments are skipped when the browser is not grade A", function(){ + setGradeA(false); + $.testHelper.reloadLib(libName); + + //NOTE easiest way to check for enhancements, not the most obvious + ok(!$("html").hasClass("ui-mobile")); + }); + + test( "enhancments are added when the browser is grade A", function(){ + setGradeA(true); + $.testHelper.reloadLib(libName); + + ok($("html").hasClass("ui-mobile")); + }); + + + //TODO lots of duplication + test( "pageLoading doesn't add the dialog to the page when loading message is false", function(){ + $.testHelper.alterExtend({loadingMessage: false}); + $.testHelper.reloadLib(libName); + $.mobile.pageLoading(false); + ok(!$(".ui-loader").length); + }); + + test( "pageLoading doesn't add the dialog to the page when done is passed as true", function(){ + $.testHelper.alterExtend({loadingMessage: true}); + $.testHelper.reloadLib(libName); + + // TODO add post reload callback + $('.ui-loader').remove(); + + $.mobile.pageLoading(true); + ok(!$(".ui-loader").length); + }); + + test( "pageLoading adds the dialog to the page when done is true", function(){ + $.testHelper.alterExtend({loadingMessage: true}); + $.testHelper.reloadLib(libName); + $.mobile.pageLoading(false); + ok($(".ui-loader").length); + }); + + var findFirstPage = function() { + return $("[data-role='page']").first(); + }; + + test( "active page and start page should be set to the fist page in the selected set", function(){ + var firstPage = findFirstPage(); + $.testHelper.reloadLib(libName); + + same($.mobile.firstPage, firstPage); + same($.mobile.activePage, firstPage); + }); + + test( "mobile viewport class is defined on the first page's parent", function(){ + var firstPage = findFirstPage(); + $.testHelper.reloadLib(libName); + + ok(firstPage.parent().hasClass('ui-mobile-viewport')); + }); + + test( "mobile page container is the first page's parent", function(){ + var firstPage = findFirstPage(); + $.testHelper.reloadLib(libName); + + same($.mobile.pageContainer, firstPage.parent()); + }); + + test( "page loading is called on document ready", function(){ + $.testHelper.alterExtend({ pageLoading: function(){ + start(); + ok("called"); + }}); + + stop(); + $.testHelper.reloadLib(libName); + }); + + test( "hashchange triggered on document ready with single argument: true", function(){ + $(window).bind("hashchange", function(ev, arg){ + same(arg, true); + start(); + }); + + stop(); + $.testHelper.reloadLib(libName); + }); }); })(jQuery); \ No newline at end of file diff --git a/tests/unit/core/index.html b/tests/unit/core/index.html index c346223b..d1456396 100644 --- a/tests/unit/core/index.html +++ b/tests/unit/core/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Core Test Suite diff --git a/tests/unit/dialog/index.html b/tests/unit/dialog/index.html index d0f51b1b..cfa3cf6c 100644 --- a/tests/unit/dialog/index.html +++ b/tests/unit/dialog/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Dialog Test Suite diff --git a/tests/unit/event/index.html b/tests/unit/event/index.html index 09d22545..38595c55 100644 --- a/tests/unit/event/index.html +++ b/tests/unit/event/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Event Test Suite diff --git a/tests/unit/listview/index.html b/tests/unit/listview/index.html index 10f52942..8ed2893f 100644 --- a/tests/unit/listview/index.html +++ b/tests/unit/listview/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Listview Integration Test diff --git a/tests/unit/media/index.html b/tests/unit/media/index.html index 8eff77e4..49fbe34f 100644 --- a/tests/unit/media/index.html +++ b/tests/unit/media/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Media Test Suite diff --git a/tests/unit/navigation/index.html b/tests/unit/navigation/index.html index ab3e6763..ceaea8cd 100644 --- a/tests/unit/navigation/index.html +++ b/tests/unit/navigation/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Navigation Test Suite diff --git a/tests/unit/page/index.html b/tests/unit/page/index.html index e7dddc6a..4b50ca41 100644 --- a/tests/unit/page/index.html +++ b/tests/unit/page/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Page Test Suite diff --git a/tests/unit/select/index.html b/tests/unit/select/index.html index 7a9d75b2..4495333c 100644 --- a/tests/unit/select/index.html +++ b/tests/unit/select/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Select Events Test Suite diff --git a/tests/unit/slider/index.html b/tests/unit/slider/index.html index 06858f24..c718ef51 100644 --- a/tests/unit/slider/index.html +++ b/tests/unit/slider/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Slider Events Test Suite diff --git a/tests/unit/support/index.html b/tests/unit/support/index.html index 42c80af9..8850252c 100644 --- a/tests/unit/support/index.html +++ b/tests/unit/support/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Support Test Suite diff --git a/tests/unit/widget/index.html b/tests/unit/widget/index.html index edc14612..7d7f381e 100644 --- a/tests/unit/widget/index.html +++ b/tests/unit/widget/index.html @@ -1,7 +1,8 @@ - + + jQuery Mobile Widget Test Suite From dfe7cf65936db9ba60dad2b9b8341ebce24a0944 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 18 Feb 2011 15:00:18 -0500 Subject: [PATCH 29/83] Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. --- js/jquery.mobile.core.js | 96 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index ffc2e532..6754afa3 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -8,6 +8,7 @@ */ (function( $, window, undefined ) { + //jQuery.mobile configurable options $.extend( $.mobile, { @@ -47,9 +48,6 @@ //if false, message will not appear, but loading classes will still be toggled on html el loadingMessage: "loading", - //configure meta viewport tag's content attr: - metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", - //support conditions that must be met in order to proceed gradeA: function(){ @@ -98,8 +96,64 @@ TAB: 9, UP: 38, WINDOWS: 91 // COMMAND + } + }); + + + //trigger mobileinit event - useful hook for configuring $.mobile settings before they're used + $( window.document ).trigger( "mobileinit" ); + + + //support conditions + //if device support condition(s) aren't met, leave things as they are -> a basic, usable experience, + //otherwise, proceed with the enhancements + if ( !$.mobile.gradeA() ) { + return; + } + + + //define vars for interal use + var $window = $(window), + $html = $( "html" ), + $head = $( "head" ), + + //loading div which appears during Ajax requests + //will not appear if $.mobile.loadingMessage is false + $loader = $.mobile.loadingMessage ? + $( "
" + + "" + + "

" + $.mobile.loadingMessage + "

" + + "
" ) + : undefined; + + //add mobile, initial load "rendering" classes to docEl + $html.addClass( "ui-mobile ui-mobile-rendering" ); + + //expose some core utilities + $.extend($.mobile, { + + // turn on/off page loading message. + pageLoading: function ( done ) { + if ( done ) { + $html.removeClass( "ui-loading" ); + } else { + if( $.mobile.loadingMessage ){ + var activeBtn =$( "." + $.mobile.activeBtnClass ).first(); + + $loader + .appendTo( $.mobile.pageContainer ) + //position at y center (if scrollTop supported), above the activeBtn (if defined), or just 100px from top + .css( { + top: $.support.scrollTop && $(window).scrollTop() + $(window).height() / 2 || + activeBtn.length && activeBtn.offset().top || 100 + } ); + } + + $html.addClass( "ui-loading" ); + } }, + //scroll page vertically: scroll to 0 to hide iOS address bar, or pass a Y value silentScroll: function( ypos ) { ypos = ypos || 0; // prevent scrollstart and scrollstop events @@ -113,6 +167,42 @@ setTimeout(function() { $.event.special.scrollstart.enabled = true; }, 150 ); + }, + + // find and enhance the pages in the dom and transition to the first page. + initializePage: function(){ + //find present pages + var $pages = $( "[data-role='page']" ); + + //add dialogs, set data-url attrs + $pages.add( "[data-role='dialog']" ).each(function(){ + $(this).attr( "data-url", $(this).attr( "id" )); + }); + + //define first page in dom case one backs out to the directory root (not always the first page visited, but defined as fallback) + $.mobile.firstPage = $pages.first(); + + //define page container + $.mobile.pageContainer = $pages.first().parent().addClass( "ui-mobile-viewport" ); + + //cue page loading message + $.mobile.pageLoading(); + + // if hashchange listening is disabled or there's no hash deeplink, change to the first page in the DOM + if( !$.mobile.hashListeningEnabled || !$.mobile.path.stripHash( location.hash ) ){ + $.mobile.changePage( $.mobile.firstPage, false, true, false, true ); + } + // otherwise, trigger a hashchange to load a deeplink + else { + $window.trigger( "hashchange", [ true ] ); + } } }); + + //dom-ready inits + $($.mobile.initializePage); + + //window load event + //hide iOS browser chrome on load + $window.load( $.mobile.silentScroll ); })( jQuery, this ); From b38113950ff0eff846e11c959eb1412b95056831 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 13:34:50 -0500 Subject: [PATCH 30/83] only inject meta if there isn't already one there. Deprecating support for injected meta in A4. Will likely remove completely at beta. --- js/jquery.mobile.init.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.init.js b/js/jquery.mobile.init.js index b89927ab..1e4db355 100644 --- a/js/jquery.mobile.init.js +++ b/js/jquery.mobile.init.js @@ -26,7 +26,9 @@ $html.addClass( "ui-mobile ui-mobile-rendering" ); //define & prepend meta viewport tag, if content is defined - $.mobile.metaViewportContent ? $( "", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo( $head ) : undefined; + //NOTE: this is now deprecated. We recommend placing the meta viewport element in + //the markup from the start. + $.mobile.metaViewportContent && !$head.find( "meta[viewport]" ).length ? $( "", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo( $head ) : undefined; //loading div which appears during Ajax requests //will not appear if $.mobile.loadingMessage is false From dcbe844f5c477991d935154b3574c94d4af12ac6 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 13:49:20 -0500 Subject: [PATCH 31/83] brought back meta definition. This is now deprecated in A4 --- js/jquery.mobile.core.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index 6754afa3..2900175e 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -47,6 +47,9 @@ //show loading message during Ajax requests //if false, message will not appear, but loading classes will still be toggled on html el loadingMessage: "loading", + + //configure meta viewport tag's content attr: + metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", //support conditions that must be met in order to proceed gradeA: function(){ From 05c48f2c3ed241bad8aed60ad521dd25f0167ed8 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 13:57:53 -0500 Subject: [PATCH 32/83] moved the CSS shorthand around for a better rgba fallback in IE --- themes/default/jquery.mobile.theme.css | 27 +++++++++---------------- themes/valencia/jquery.mobile.theme.css | 22 ++++++-------------- 2 files changed, 16 insertions(+), 33 deletions(-) diff --git a/themes/default/jquery.mobile.theme.css b/themes/default/jquery.mobile.theme.css index e1b2c3cb..ee82020f 100755 --- a/themes/default/jquery.mobile.theme.css +++ b/themes/default/jquery.mobile.theme.css @@ -66,7 +66,10 @@ font-weight: bold; } .ui-br { - border-bottom: 1px solid rgba(130,130,130,.3); + border-bottom: rgb(130,130,130); + border-bottom: rgba(130,130,130,.3); + border-bottom-width: 1px; + border-bottom-style: solid; } .ui-btn-up-a { border: 1px solid #222; @@ -718,34 +721,24 @@ a.ui-link-inherit { -----------------------------------------------------------------------------------------------------------*/ .ui-icon { + background: #666; + background: rgba(0,0,0,.4); background-image: url(images/icons-18-white.png); background-repeat: no-repeat; - background-color: #666; - background-color: rgba(0,0,0,.4); - -moz-border-radius: 9px; - -webkit-border-radius: 9px; - border-radius: 9px; -} -.ui-icon-disc { - background-color: #666; - background-color: rgba(0,0,0,.3); -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; } + /* Alt icon color -----------------------------------------------------------------------------------------------------------*/ .ui-icon-black { + background: #fff; + background: rgba(255,255,255,.3); background-image: url(images/icons-18-black.png); -} -.ui-icon-black-disc { - background-color: #fff; - background-color: rgba(255,255,255,.3); - -moz-border-radius: 9px; - -webkit-border-radius: 9px; - border-radius: 9px; + background-repeat: no-repeat; } /* HD/"retina" sprite diff --git a/themes/valencia/jquery.mobile.theme.css b/themes/valencia/jquery.mobile.theme.css index 14c0b210..df7ab773 100644 --- a/themes/valencia/jquery.mobile.theme.css +++ b/themes/valencia/jquery.mobile.theme.css @@ -711,34 +711,24 @@ a.ui-link-inherit { -----------------------------------------------------------------------------------------------------------*/ .ui-icon { + background: #666; + background: rgba(0,0,0,.4); background-image: url(images/icons-18-white.png); background-repeat: no-repeat; - background-color: #666; - background-color: rgba(0,0,0,.4); - -moz-border-radius: 9px; - -webkit-border-radius: 9px; - border-radius: 9px; -} -.ui-icon-disc { - background-color: #666; - background-color: rgba(0,0,0,.3); -moz-border-radius: 9px; -webkit-border-radius: 9px; border-radius: 9px; } + /* Alt icon color -----------------------------------------------------------------------------------------------------------*/ .ui-icon-black { + background: #fff; + background: rgba(255,255,255,.3); background-image: url(images/icons-18-black.png); -} -.ui-icon-black-disc { - background-color: #fff; - background-color: rgba(255,255,255,.3); - -moz-border-radius: 9px; - -webkit-border-radius: 9px; - border-radius: 9px; + background-repeat: no-repeat; } /* HD/"retina" sprite From bd1f9e12497b455f0c9343c6456a06767d451992 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 14:11:56 -0500 Subject: [PATCH 33/83] changing overflow to visible makes list items stack properly in IE7. This rule was only there for clearfix, so either value should be fine. Tested in iOS/iPad to make sure this did not re-introduce the icon positioning bug. Removed unnecessary zoom as well. --- themes/default/jquery.mobile.listview.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.listview.css b/themes/default/jquery.mobile.listview.css index 44fcaba5..5b683a6e 100644 --- a/themes/default/jquery.mobile.listview.css +++ b/themes/default/jquery.mobile.listview.css @@ -6,8 +6,8 @@ .ui-listview { margin: 0; counter-reset: listnumbering; } .ui-content .ui-listview { margin: -15px; } .ui-content .ui-listview-inset { margin: 1em 0; } -.ui-listview, .ui-li { list-style:none; padding:0; zoom: 1; } -.ui-li { display: block; margin:0; position: relative; overflow: hidden; text-align: left; border-width: 0; border-top-width: 1px; } +.ui-listview, .ui-li { list-style:none; padding:0; } +.ui-li { display: block; margin:0; position: relative; overflow: visible; text-align: left; border-width: 0; border-top-width: 1px; } .ui-li .ui-btn-text { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .ui-li-divider, .ui-li-static { padding: .5em 15px; font-size: 14px; font-weight: bold; counter-reset: listnumbering; } ol.ui-listview .ui-link-inherit:before, .ui-li-dec { font-size: .8em; display: inline-block; padding-right: .3em; font-weight: normal;counter-increment: listnumbering; content: counter(listnumbering) ". "; } From 5b1f586cdb92c2b75e78a48f56b1d09afe345a30 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 15:01:17 -0500 Subject: [PATCH 34/83] added meta back. This is now deprecated for A4 in favor of putting the viewport meta directly in the markup. --- js/jquery.mobile.core.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index 2900175e..6754afa3 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -47,9 +47,6 @@ //show loading message during Ajax requests //if false, message will not appear, but loading classes will still be toggled on html el loadingMessage: "loading", - - //configure meta viewport tag's content attr: - metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", //support conditions that must be met in order to proceed gradeA: function(){ From aa31e01d63f1213668898f482e0dbd4c21a37e4b Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 15:07:10 -0500 Subject: [PATCH 35/83] updated to latest core js, with deprecation note --- js/jquery.mobile.core.js | 109 +++------------------------------------ 1 file changed, 6 insertions(+), 103 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index 6754afa3..c35d915d 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -8,7 +8,6 @@ */ (function( $, window, undefined ) { - //jQuery.mobile configurable options $.extend( $.mobile, { @@ -48,18 +47,14 @@ //if false, message will not appear, but loading classes will still be toggled on html el loadingMessage: "loading", + //configure meta viewport tag's content attr: + //note: this feature is deprecated in A4 in favor of adding + //the meta viewport element directly in the markup + metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", + //support conditions that must be met in order to proceed gradeA: function(){ - - //non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683 - //allows for inclusion of IE 6+, including Windows Mobile 7 - var ie = (function() { - var v = 3, div = document.createElement('div'), a = div.all || []; - while (div.innerHTML = '', a[0]); - return v > 4 ? v : !v; - }()); - - return $.support.mediaquery || ie && ie >= 6; + return $.support.mediaquery; }, //TODO might be useful upstream in jquery itself ? @@ -96,64 +91,8 @@ TAB: 9, UP: 38, WINDOWS: 91 // COMMAND - } - }); - - - //trigger mobileinit event - useful hook for configuring $.mobile settings before they're used - $( window.document ).trigger( "mobileinit" ); - - - //support conditions - //if device support condition(s) aren't met, leave things as they are -> a basic, usable experience, - //otherwise, proceed with the enhancements - if ( !$.mobile.gradeA() ) { - return; - } - - - //define vars for interal use - var $window = $(window), - $html = $( "html" ), - $head = $( "head" ), - - //loading div which appears during Ajax requests - //will not appear if $.mobile.loadingMessage is false - $loader = $.mobile.loadingMessage ? - $( "
" + - "" + - "

" + $.mobile.loadingMessage + "

" + - "
" ) - : undefined; - - //add mobile, initial load "rendering" classes to docEl - $html.addClass( "ui-mobile ui-mobile-rendering" ); - - //expose some core utilities - $.extend($.mobile, { - - // turn on/off page loading message. - pageLoading: function ( done ) { - if ( done ) { - $html.removeClass( "ui-loading" ); - } else { - if( $.mobile.loadingMessage ){ - var activeBtn =$( "." + $.mobile.activeBtnClass ).first(); - - $loader - .appendTo( $.mobile.pageContainer ) - //position at y center (if scrollTop supported), above the activeBtn (if defined), or just 100px from top - .css( { - top: $.support.scrollTop && $(window).scrollTop() + $(window).height() / 2 || - activeBtn.length && activeBtn.offset().top || 100 - } ); - } - - $html.addClass( "ui-loading" ); - } }, - //scroll page vertically: scroll to 0 to hide iOS address bar, or pass a Y value silentScroll: function( ypos ) { ypos = ypos || 0; // prevent scrollstart and scrollstop events @@ -167,42 +106,6 @@ setTimeout(function() { $.event.special.scrollstart.enabled = true; }, 150 ); - }, - - // find and enhance the pages in the dom and transition to the first page. - initializePage: function(){ - //find present pages - var $pages = $( "[data-role='page']" ); - - //add dialogs, set data-url attrs - $pages.add( "[data-role='dialog']" ).each(function(){ - $(this).attr( "data-url", $(this).attr( "id" )); - }); - - //define first page in dom case one backs out to the directory root (not always the first page visited, but defined as fallback) - $.mobile.firstPage = $pages.first(); - - //define page container - $.mobile.pageContainer = $pages.first().parent().addClass( "ui-mobile-viewport" ); - - //cue page loading message - $.mobile.pageLoading(); - - // if hashchange listening is disabled or there's no hash deeplink, change to the first page in the DOM - if( !$.mobile.hashListeningEnabled || !$.mobile.path.stripHash( location.hash ) ){ - $.mobile.changePage( $.mobile.firstPage, false, true, false, true ); - } - // otherwise, trigger a hashchange to load a deeplink - else { - $window.trigger( "hashchange", [ true ] ); - } } }); - - //dom-ready inits - $($.mobile.initializePage); - - //window load event - //hide iOS browser chrome on load - $window.load( $.mobile.silentScroll ); })( jQuery, this ); From 8cb9923055e3e2abcb70df2c4fc3a2a3a86e70b8 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 11 Mar 2011 15:41:00 -0500 Subject: [PATCH 36/83] gradeA test was missed in the update. back in now, with IE 6+ enabled. --- js/jquery.mobile.core.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index c35d915d..e45a6904 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -54,7 +54,16 @@ //support conditions that must be met in order to proceed gradeA: function(){ - return $.support.mediaquery; + + //non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683 + //allows for inclusion of IE 6+, including Windows Mobile 7 + var ie = (function() { + var v = 3, div = document.createElement('div'), a = div.all || []; + while (div.innerHTML = '', a[0]); + return v > 4 ? v : !v; + }()); + + return $.support.mediaquery || ie && ie >= 6; }, //TODO might be useful upstream in jquery itself ? From 60d75f008ce0baacc13f5f78999eace1b2ae725b Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sat, 12 Mar 2011 14:18:46 -0500 Subject: [PATCH 37/83] fixed Ajax navigation in Windows Phone 7. Since all urls are absolute in IE, we need to check if the href has a protocol up front, and if so, later on, make sure we don't prefix it with a base path because it doesn't need one. --- js/jquery.mobile.navigation.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 3adca12c..a915d276 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -47,9 +47,10 @@ //return a url path with the window's location protocol/hostname removed clean: function( url ){ - // Replace the protocol and host only once at the beginning of the url to avoid + // Replace the protocol, host, and pathname only once at the beginning of the url to avoid // problems when it's included as a part of a param - var leadingUrlRootRegex = new RegExp("^" + location.protocol + "//" + location.host); + // Also, since all urls are absolute in IE, we need to remove the pathname as well. + var leadingUrlRootRegex = new RegExp("^" + location.protocol + "//" + location.host + location.pathname); return url.replace(leadingUrlRootRegex, ""); }, @@ -649,6 +650,12 @@ //get href, if defined, otherwise fall to null # href = $this.attr( "href" ) || "#", + + //cache a check for whether the link had a protocol + //if this is true and the link was same domain, we won't want + //to prefix the url with a base (esp helpful in IE, where every + //url is absolute + hadProtocol = path.hasProtocol( href ), //get href, remove same-domain protocol and host url = path.clean( href ), @@ -713,7 +720,7 @@ nextPageRole = $this.attr( "data-rel" ); //if it's a relative href, prefix href with base url - if( path.isRelative( url ) ){ + if( path.isRelative( url ) && !hadProtocol ){ url = path.makeAbsolute( url ); } From 793d03b2e6fc6a7e45192fdcd43426707ce9a853 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sat, 12 Mar 2011 15:51:45 -0500 Subject: [PATCH 38/83] adjusted input element replacement regexp to account for non-quoted type attributes when replacing markup. This change lets things work properly in IE, so plugins like the slider now get enhanced. --- js/jquery.mobile.page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index a0caaa68..c8a29e5c 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -150,7 +150,7 @@ $.widget( "mobile.page", $.mobile.widget, { if ( o.degradeInputs[ type ] ) { $( this ).replaceWith( $( "
" ).html( $(this).clone() ).html() - .replace( /type="([a-zA-Z]+)"/, "type="+ optType +" data-type='$1'" ) ); + .replace( / type="?([a-zA-Z]+)"?\s/, " type=\""+ optType +"\" data-type=\""+type+"\" " ) ); } }); From c4685ac14ff5d95411037b99f0b8150ce1aa595d Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sat, 12 Mar 2011 16:12:42 -0500 Subject: [PATCH 39/83] replace the current path in the url when checking if it's a null # href. This ensures # hrefs won't follow default behavior in IE / Win Phone. --- js/jquery.mobile.navigation.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index a915d276..1e978aae 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -45,7 +45,7 @@ return path.get() + url; }, - //return a url path with the window's location protocol/hostname removed + //return a url path with the window's location protocol/hostname/pathname removed clean: function( url ){ // Replace the protocol, host, and pathname only once at the beginning of the url to avoid // problems when it's included as a part of a param @@ -682,8 +682,10 @@ window.history.back(); return false; } - - if( url === "#" ){ + + //prevent # urls from bubbling + //path.get() is replaced to combat abs url prefixing in IE + if( url.replace(path.get(), "") == "#" ){ //for links created purely for interaction - ignore event.preventDefault(); return; From 7aab355ffbf0fdb11a89904c9eda0dc5f4e7141e Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 12:08:27 -0400 Subject: [PATCH 40/83] some fixes to make checks and radios work in Windows Phone 7. The labels were not being found through the selector, but finding all labels and then using the filter method seemed to work fine. Other than that, this push includes a little DRY cleanup here and there. --- js/jquery.mobile.forms.checkboxradio.js | 35 +++++++++++++++---------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 18d14d98..10a80e66 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -12,12 +12,24 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, { _create: function(){ var self = this, input = this.element, - label = input.closest("form,fieldset,[data-role='page']").find("label[for='" + input.attr( "id" ) + "']"), + label = input.closest("form,fieldset,[data-role='page']") + .find("label") + //NOTE: Windows Phone could not find the label through a selector + //filter works though. + .filter("[for=" + input[0].id + "]"), inputtype = input.attr( "type" ), checkedicon = "ui-icon-" + inputtype + "-on", uncheckedicon = "ui-icon-" + inputtype + "-off"; if ( inputtype != "checkbox" && inputtype != "radio" ) { return; } + + //expose for other methods + $.extend( this,{ + label : label, + inputtype : inputtype, + checkedicon : checkedicon, + uncheckedicon : uncheckedicon + }); // If there's no selected theme... if( !this.options.theme ) { @@ -111,13 +123,13 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, { //returns either a set of radios with the same name attribute, or a single checkbox _getInputSet: function(){ return this.element.closest( "form,fieldset,[data-role='page']" ) - .find( "input[name='"+ this.element.attr( "name" ) +"'][type='"+ this.element.attr( "type" ) +"']" ); + .find( "input[name='"+ this.element.attr( "name" ) +"'][type='"+ this.inputtype +"']" ); }, _updateAll: function(){ this._getInputSet().each(function(){ var dVal = $(this).data("cacheVal"); - if( dVal && dVal !== $(this).is(":checked") || $(this).is( "[type='checkbox']" ) ){ + if( dVal && dVal !== $(this).is(":checked") || this.nputtype === "checkbox" ){ $(this).trigger("change"); } }) @@ -126,21 +138,16 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, { refresh: function( ){ var input = this.element, - label = input.closest("form,fieldset,[data-role='page']").find("label[for='" + input.attr( "id" ) + "']"), - inputtype = input.attr( "type" ), - icon = label.find( ".ui-icon" ), - checkedicon = "ui-icon-" + inputtype + "-on", - uncheckedicon = "ui-icon-" + inputtype + "-off"; + label = this.label, + icon = label.find( ".ui-icon" ); if ( input[0].checked ) { - label.addClass( "ui-btn-active" ); - icon.addClass( checkedicon ); - icon.removeClass( uncheckedicon ); + label.addClass( $.mobile.activeBtnClass ); + icon.addClass( this.checkedicon ).removeClass( this.uncheckedicon ); } else { - label.removeClass( "ui-btn-active" ); - icon.removeClass( checkedicon ); - icon.addClass( uncheckedicon ); + label.removeClass( $.mobile.activeBtnClass ); + icon.removeClass( this.checkedicon ).addClass( this.uncheckedicon ); } if( input.is( ":disabled" ) ){ From c1f60577732dde385ace30ffa054abbc1a55abe3 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 12:54:11 -0400 Subject: [PATCH 41/83] switched from inline-block to inline on the divs to get grouped Checkboxes and Radios to stack horizontally in Windows Phone. --- themes/default/jquery.mobile.controlgroup.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.controlgroup.css b/themes/default/jquery.mobile.controlgroup.css index abeffef5..a772fcae 100644 --- a/themes/default/jquery.mobile.controlgroup.css +++ b/themes/default/jquery.mobile.controlgroup.css @@ -12,8 +12,8 @@ .ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; } .ui-controlgroup-vertical .ui-controlgroup-last { border-bottom-width: 1px; } .ui-controlgroup-horizontal { padding: 0; } -.ui-controlgroup-horizontal .ui-btn, -.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { margin: 0 -5px 0 0; display: inline-block; } +.ui-controlgroup-horizontal .ui-btn { display: inline-block;} +.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { margin: 0 -5px 0 0; display: inline; } .ui-controlgroup-horizontal .ui-checkbox .ui-btn, .ui-controlgroup-horizontal .ui-radio .ui-btn, .ui-controlgroup-horizontal .ui-checkbox:last-child, .ui-controlgroup-horizontal .ui-radio:last-child { margin-right: 0; } .ui-controlgroup-horizontal .ui-controlgroup-last { margin-right: 0; } From 3ffe86bc2134a089ec157d7e65b25fe8be6f4331 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 13:16:06 -0400 Subject: [PATCH 42/83] fixed form button appearance in Windows Phone 7 and IE --- themes/default/jquery.mobile.button.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/jquery.mobile.button.css b/themes/default/jquery.mobile.button.css index d1f1214a..602ffd6d 100644 --- a/themes/default/jquery.mobile.button.css +++ b/themes/default/jquery.mobile.button.css @@ -50,4 +50,4 @@ .ui-btn-icon-top .ui-icon { top: 5px; } .ui-btn-icon-bottom .ui-icon { bottom: 5px; } /*hiding native button,inputs */ -.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: button; opacity: 0; cursor: pointer; } +.ui-btn-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-appearance: button; opacity: 0; cursor: pointer; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } From 4c42be503dfdc57a0323870f27a070bc894cb928 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 13:28:52 -0400 Subject: [PATCH 43/83] tabindex shouldn't be -1 on nativemenu button --- js/jquery.mobile.forms.select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 346da3f3..993b099c 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -189,7 +189,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { .removeClass( $.mobile.activeBtnClass ); }); - button.attr( "tabindex", "-1" ); + } else { //create list from select, update state From 4596769b5e2e6849e8d1423e153449a2513c334d Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 13:59:52 -0400 Subject: [PATCH 44/83] fixed up the dimensions and opacity for nativeMenu selects so they work in Windows Phone and IE --- themes/default/jquery.mobile.forms.select.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.forms.select.css b/themes/default/jquery.mobile.forms.select.css index a0c3b12a..7be3318a 100644 --- a/themes/default/jquery.mobile.forms.select.css +++ b/themes/default/jquery.mobile.forms.select.css @@ -5,7 +5,8 @@ */ .ui-select { display: block; position: relative; } .ui-select select { position: absolute; left: -9999px; top: -9999px; } -.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; height: 100%; opacity: 0.001; } +.ui-select .ui-btn { overflow: hidden; } +.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; height: 100%; opacity: 0.001; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; } .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } @@ -16,7 +17,7 @@ label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margi /*listbox*/ .ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: inline-block; min-height: 1em; } -.ui-select .ui-btn-text { text-overflow: ellipsis; overflow: hidden; width: 85% } +.ui-select .ui-btn-text { text-overflow: ellipsis; overflow: hidden; display: block;} .ui-selectmenu { position: absolute; padding: 0; z-index: 100 !important; width: 80%; max-width: 350px; padding: 6px; } .ui-selectmenu .ui-listview { margin: 0; } From d3a170db09fabd163f51edc7b60db588b31f7a8e Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 17:01:51 -0400 Subject: [PATCH 45/83] moved the IE test to support.js, added a workaround to the listview refresh method to prevent default on mousedown, which makes the tap highlight color look right in Windows Phone 7. Without this workaround, it still works fine, but the entire listview is highlighted when an LI is clicked. --- js/jquery.mobile.core.js | 14 +++----------- js/jquery.mobile.listview.js | 11 +++++++++++ js/jquery.mobile.support.js | 10 ++++++++++ 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index e45a6904..c39347fb 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -53,17 +53,9 @@ metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", //support conditions that must be met in order to proceed - gradeA: function(){ - - //non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683 - //allows for inclusion of IE 6+, including Windows Mobile 7 - var ie = (function() { - var v = 3, div = document.createElement('div'), a = div.all || []; - while (div.innerHTML = '', a[0]); - return v > 4 ? v : !v; - }()); - - return $.support.mediaquery || ie && ie >= 6; + //default enhanced qualifications are media query support OR IE 6+ + gradeA: function(){ + return $.support.mediaquery || $.mobile.browser.ie && $.mobile.browser.ie >= 6; }, //TODO might be useful upstream in jquery itself ? diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index 0ceb6fd5..224cfa20 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -116,6 +116,7 @@ $.widget( "mobile.listview", $.mobile.widget, { return false; } }); + }, _itemApply: function( $list, item ) { @@ -168,6 +169,16 @@ $.widget( "mobile.listview", $.mobile.widget, { li.attr({ "role": "option", "tabindex": "-1" }); li.first().attr( "tabindex", "0" ); + + //workaround for Windows Phone 7 focus/active tap color + //without this, delegated events will highlight the whole list, rather than the LI + if( $.mobile.browser.ie && $.mobile.browser.ie <= 8 ){ + li + .unbind( "mousedown.iefocus" ) + .bind( "mousedown.iefocus", function(e){ + e.preventDefault(); + }); + } li.each(function( pos ) { var item = $( this ), diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index 0492b50f..6de42637 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -46,6 +46,16 @@ function baseTagTest(){ return rebase.indexOf(fauxBase) === 0; }; + +//non-UA-based IE version check by James Padolsey, modified by jdalton - from http://gist.github.com/527683 +//allows for inclusion of IE 6+, including Windows Mobile 7 +$.mobile.browser = {}; +$.mobile.browser.ie = (function() { + var v = 3, div = document.createElement('div'), a = div.all || []; + while (div.innerHTML = '', a[0]); + return v > 4 ? v : !v; +}()); + $.extend( $.support, { orientation: "orientation" in window, touch: "ontouchend" in document, From 3014ab785da860b8bc50c6c1172027101631b383 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 17:14:53 -0400 Subject: [PATCH 46/83] fixed the flip switch in Windows Phone 7. Z indexes needed tweaking to accommodate IE. --- themes/default/jquery.mobile.forms.slider.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.forms.slider.css b/themes/default/jquery.mobile.forms.slider.css index 13bf981d..e6f25c68 100644 --- a/themes/default/jquery.mobile.forms.slider.css +++ b/themes/default/jquery.mobile.forms.slider.css @@ -18,8 +18,8 @@ div.ui-slider-handle-snapping { -webkit-transition: left 100ms linear; } div.ui-slider-labelbg { position: absolute; top:0; margin: 0; border-width: 0; } div.ui-slider-switch div.ui-slider-labelbg-a { width: 60%; height: 100%; left: 0; } div.ui-slider-switch div.ui-slider-labelbg-b { width: 60%; height: 100%; right: 0; } -.ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b { z-index: 1; } -.ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a { z-index: 10; } +.ui-slider-switch-a div.ui-slider-labelbg-a, .ui-slider-switch-b div.ui-slider-labelbg-b { z-index: -1; } +.ui-slider-switch-a div.ui-slider-labelbg-b, .ui-slider-switch-b div.ui-slider-labelbg-a { z-index: 0; } div.ui-slider-switch a.ui-slider-handle { z-index: 20; width: 101%; height: 32px; margin-top: -18px; margin-left: -101%; } span.ui-slider-label { width: 100%; position: absolute;height: 32px; font-size: 16px; text-align: center; line-height: 2; background: none; border-color: transparent; } From 6ecb99c93679eb5a11116257f088510910a64dcd Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:01:20 -0400 Subject: [PATCH 47/83] typo in selector for finding meta[viewport] element --- js/jquery.mobile.init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.init.js b/js/jquery.mobile.init.js index 1e4db355..ce1f658b 100644 --- a/js/jquery.mobile.init.js +++ b/js/jquery.mobile.init.js @@ -28,7 +28,7 @@ //define & prepend meta viewport tag, if content is defined //NOTE: this is now deprecated. We recommend placing the meta viewport element in //the markup from the start. - $.mobile.metaViewportContent && !$head.find( "meta[viewport]" ).length ? $( "", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo( $head ) : undefined; + $.mobile.metaViewportContent && !$head.find( "meta[name='viewport']" ).length ? $( "", { name: "viewport", content: $.mobile.metaViewportContent}).prependTo( $head ) : undefined; //loading div which appears during Ajax requests //will not appear if $.mobile.loadingMessage is false From b2222388d7cd0dd0d7e80e73b96b3d5fe098067e Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:13:43 -0400 Subject: [PATCH 48/83] updated to latest --- tests/unit/core/core.js | 105 ---------------------------------------- 1 file changed, 105 deletions(-) diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index f3866bf0..7848f8b1 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -8,13 +8,6 @@ extendFn = $.extend; module(libName, { - setup: function(){ - // NOTE reset for gradeA tests - $('html').removeClass('ui-mobile'); - - // NOTE reset for pageLoading tests - $('.ui-loader').remove(); - }, teardown: function(){ $.extend = extendFn; } @@ -30,103 +23,5 @@ $.testHelper.reloadLib(libName); ok($.mobile.gradeA()); }); - - test( "loading the core library triggers mobilinit on the document", function(){ - expect( 1 ); - - $(window.document).bind('mobileinit', function(event){ - ok(true); - }); - - $.testHelper.reloadLib(libName); - }); - - test( "enhancments are skipped when the browser is not grade A", function(){ - setGradeA(false); - $.testHelper.reloadLib(libName); - - //NOTE easiest way to check for enhancements, not the most obvious - ok(!$("html").hasClass("ui-mobile")); - }); - - test( "enhancments are added when the browser is grade A", function(){ - setGradeA(true); - $.testHelper.reloadLib(libName); - - ok($("html").hasClass("ui-mobile")); - }); - - - //TODO lots of duplication - test( "pageLoading doesn't add the dialog to the page when loading message is false", function(){ - $.testHelper.alterExtend({loadingMessage: false}); - $.testHelper.reloadLib(libName); - $.mobile.pageLoading(false); - ok(!$(".ui-loader").length); - }); - - test( "pageLoading doesn't add the dialog to the page when done is passed as true", function(){ - $.testHelper.alterExtend({loadingMessage: true}); - $.testHelper.reloadLib(libName); - - // TODO add post reload callback - $('.ui-loader').remove(); - - $.mobile.pageLoading(true); - ok(!$(".ui-loader").length); - }); - - test( "pageLoading adds the dialog to the page when done is true", function(){ - $.testHelper.alterExtend({loadingMessage: true}); - $.testHelper.reloadLib(libName); - $.mobile.pageLoading(false); - ok($(".ui-loader").length); - }); - - var findFirstPage = function() { - return $("[data-role='page']").first(); - }; - - test( "active page and start page should be set to the fist page in the selected set", function(){ - var firstPage = findFirstPage(); - $.testHelper.reloadLib(libName); - - same($.mobile.firstPage, firstPage); - same($.mobile.activePage, firstPage); - }); - - test( "mobile viewport class is defined on the first page's parent", function(){ - var firstPage = findFirstPage(); - $.testHelper.reloadLib(libName); - - ok(firstPage.parent().hasClass('ui-mobile-viewport')); - }); - - test( "mobile page container is the first page's parent", function(){ - var firstPage = findFirstPage(); - $.testHelper.reloadLib(libName); - - same($.mobile.pageContainer, firstPage.parent()); - }); - - test( "page loading is called on document ready", function(){ - $.testHelper.alterExtend({ pageLoading: function(){ - start(); - ok("called"); - }}); - - stop(); - $.testHelper.reloadLib(libName); - }); - - test( "hashchange triggered on document ready with single argument: true", function(){ - $(window).bind("hashchange", function(ev, arg){ - same(arg, true); - start(); - }); - - stop(); - $.testHelper.reloadLib(libName); - }); }); })(jQuery); \ No newline at end of file From f6a2bd46ec4a39463d265f117f4cbef1e1d3637b Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:21:28 -0400 Subject: [PATCH 49/83] added a unit test for checking if meta viewport tag is not appended if one already exists. --- tests/unit/init/init_core.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/unit/init/init_core.js b/tests/unit/init/init_core.js index 118bcd6f..249fe710 100644 --- a/tests/unit/init/init_core.js +++ b/tests/unit/init/init_core.js @@ -71,12 +71,18 @@ $.testHelper.reloadLib( libName ); }; - test( "meta view port element not added to head when not defined on mobile", function(){ + test( "meta viewport element not added to head when not defined on mobile", function(){ setViewPortContent(false); same($(metaViewportSelector).length, 0); }); - test( "meta view port element is added to head when defined on mobile", function(){ + test( "meta viewport element is added to head when defined on mobile and no meta already exists", function(){ + setViewPortContent("width=device-width"); + same($(metaViewportSelector).length, 1); + }); + + test( "meta viewport element is not added to head when defined on mobile and a meta already exists", function(){ + $("").prependTo("head"); setViewPortContent("width=device-width"); same($(metaViewportSelector).length, 1); }); From b2ea5e99e58909b76e12afcd9e2301ebd3734450 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:21:48 -0400 Subject: [PATCH 50/83] added comment about missing meta tag --- tests/unit/init/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/init/index.html b/tests/unit/init/index.html index 3cdf94f7..bd19e44c 100644 --- a/tests/unit/init/index.html +++ b/tests/unit/init/index.html @@ -3,7 +3,7 @@ jQuery Mobile Init Test Suite - + From 4c199a5ce6dca5493a1bc4355d4eef9e37195404 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 21:56:26 -0400 Subject: [PATCH 51/83] added unit test for IE version check in Mobile ( doesn't use UA detection like jQuery Core's) --- tests/unit/support/support_core.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/unit/support/support_core.js b/tests/unit/support/support_core.js index 36c80fa3..25430f5c 100644 --- a/tests/unit/support/support_core.js +++ b/tests/unit/support/support_core.js @@ -69,6 +69,23 @@ $.testHelper.excludeFileProtocol(function(){ $.testHelper.reloadLib(libName); ok(!$.support.dynamicBaseTag); }); + + test( "jQM's IE browser check properly detects IE versions", function(){ + $.testHelper.reloadLib(libName); + + //here we're just comparing our version to what the conditional compilation finds + var ie = !!$.browser.msie, //get a boolean + version = parseInt( $.browser.version, 10), + jqmdetectedver = $.mobile.browser.ie; + + if( ie ){ + same(version, jqmdetectedver, "It's IE and the version is correct"); + } + else{ + same(ie, jqmdetectedver, "It's not IE"); + } + }); + //TODO propExists testing, refactor propExists into mockable method //TODO scrollTop testing, refactor scrollTop logic into mockable method From d08ff237656733ab14b09bd6d7776a8786fcb568 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 22:19:44 -0400 Subject: [PATCH 52/83] fixed up path.clean test so it passes --- tests/unit/navigation/navigation_core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/navigation/navigation_core.js b/tests/unit/navigation/navigation_core.js index 032d7c24..d7bc294b 100644 --- a/tests/unit/navigation/navigation_core.js +++ b/tests/unit/navigation/navigation_core.js @@ -83,14 +83,14 @@ }); test( "path.clean is working properly", function(){ - var localroot = location.href.split("/").slice(0, 3).join("/"), + var localroot = location.protocol + "//" + location.host + location.pathname, remoteroot = "http://google.com/", - fakepath = "foo/bar/baz.html", + fakepath = "#foo/bar/baz.html", pathWithParam = localroot + "/bar?baz=" + localroot, localpath = localroot + fakepath, remotepath = remoteroot + fakepath; - same( $.mobile.path.clean( localpath ), fakepath, "removes location protocol, host, port from same-domain path"); + same( $.mobile.path.clean( localpath ), fakepath, "removes location protocol, host, port, pathname from same-domain path"); same( $.mobile.path.clean( remotepath ), remotepath, "does nothing to an external domain path"); same( $.mobile.path.clean( pathWithParam ), "/bar?baz=" + localroot, "doesn't remove params with localroot value"); }); From f69c98caf08013c72e1f3e2edeff38f51286ad2d Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 22:31:45 -0400 Subject: [PATCH 53/83] gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match --- js/jquery.mobile.core.js | 4 ++-- tests/unit/core/core.js | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index c39347fb..e4f9e9a4 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -53,9 +53,9 @@ metaViewportContent: "width=device-width, minimum-scale=1, maximum-scale=1", //support conditions that must be met in order to proceed - //default enhanced qualifications are media query support OR IE 6+ + //default enhanced qualifications are media query support OR IE 7+ gradeA: function(){ - return $.support.mediaquery || $.mobile.browser.ie && $.mobile.browser.ie >= 6; + return $.support.mediaquery || $.mobile.browser.ie && $.mobile.browser.ie >= 7; }, //TODO might be useful upstream in jquery itself ? diff --git a/tests/unit/core/core.js b/tests/unit/core/core.js index 7848f8b1..1602cbc1 100644 --- a/tests/unit/core/core.js +++ b/tests/unit/core/core.js @@ -4,7 +4,10 @@ (function($){ var libName = "jquery.mobile.core.js", - setGradeA = function(value) { $.support.mediaquery = value; }, + setGradeA = function(value, version) { \ + $.support.mediaquery = value; + $.mobile.browser.ie = version; + }, extendFn = $.extend; module(libName, { @@ -14,12 +17,12 @@ }); $.testHelper.excludeFileProtocol(function(){ - test( "grade A browser support media queries", function(){ - setGradeA(false); + test( "grade A browser either supports media queries or is IE 7+", function(){ + setGradeA(false, 6); $.testHelper.reloadLib(libName); ok(!$.mobile.gradeA()); - setGradeA(true); + setGradeA(true, 8); $.testHelper.reloadLib(libName); ok($.mobile.gradeA()); }); From fc0cd38c4ee987c4eec28c77766e3a5efa1a0ba1 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 13 Mar 2011 23:54:26 -0400 Subject: [PATCH 54/83] improved test for meta injects --- tests/unit/init/init_core.js | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/tests/unit/init/init_core.js b/tests/unit/init/init_core.js index 249fe710..d732c1f8 100644 --- a/tests/unit/init/init_core.js +++ b/tests/unit/init/init_core.js @@ -64,27 +64,31 @@ ok($("html").hasClass("ui-mobile")); }); - var metaViewportSelector = "head meta[name=viewport]", - setViewPortContent = function(value){ - $(metaViewportSelector).remove(); - $.mobile.metaViewportContent = value; + var findMeta = function(){ + + return $("head meta").filter("[name='viewport']"); + }, + setViewPortContent = function(){ $.testHelper.reloadLib( libName ); }; test( "meta viewport element not added to head when not defined on mobile", function(){ - setViewPortContent(false); - same($(metaViewportSelector).length, 0); + $.mobile.metaViewportContent = null; + findMeta().remove(); + setViewPortContent(); + same( findMeta().length, 0); }); test( "meta viewport element is added to head when defined on mobile and no meta already exists", function(){ - setViewPortContent("width=device-width"); - same($(metaViewportSelector).length, 1); + findMeta().remove(); + setViewPortContent(); + same( findMeta().length, 1); }); test( "meta viewport element is not added to head when defined on mobile and a meta already exists", function(){ - $("").prependTo("head"); - setViewPortContent("width=device-width"); - same($(metaViewportSelector).length, 1); + $( '').prependTo("head"); + setViewPortContent(); + same( findMeta().length, 1); }); var findFirstPage = function() { From c629e34e74676b6fc9c43e3187d0d4ae57c6de16 Mon Sep 17 00:00:00 2001 From: John Bender Date: Sun, 13 Mar 2011 23:09:32 -0700 Subject: [PATCH 55/83] fix for broken init test and some whitespace --- tests/unit/init/index.html | 4 ++-- tests/unit/init/init_core.js | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/tests/unit/init/index.html b/tests/unit/init/index.html index bd19e44c..cbb6248f 100644 --- a/tests/unit/init/index.html +++ b/tests/unit/init/index.html @@ -3,12 +3,12 @@ jQuery Mobile Init Test Suite - + + - diff --git a/tests/unit/init/init_core.js b/tests/unit/init/init_core.js index d732c1f8..d416edcd 100644 --- a/tests/unit/init/init_core.js +++ b/tests/unit/init/init_core.js @@ -2,7 +2,9 @@ * mobile init tests */ (function($){ - var mobilePage = undefined, mobileSelect = undefined, + var mobilePage = undefined, + mobileSelect = undefined, + metaViewportContentDefault = $.mobile.metaViewportContent, libName = 'jquery.mobile.init.js', setGradeA = function(value) { $.mobile.gradeA = function(){ return value; }; }, extendFn = $.extend; @@ -20,6 +22,9 @@ // NOTE reset for pageLoading tests $('.ui-loader').remove(); + + // reset meta view port content + $.mobile.metaViewportContent = metaViewportContentDefault; } }); @@ -65,12 +70,11 @@ }); var findMeta = function(){ - - return $("head meta").filter("[name='viewport']"); - }, + return $("head meta[name='viewport']"); + }, setViewPortContent = function(){ - $.testHelper.reloadLib( libName ); - }; + $.testHelper.reloadLib( libName ); + }; test( "meta viewport element not added to head when not defined on mobile", function(){ $.mobile.metaViewportContent = null; @@ -84,14 +88,15 @@ setViewPortContent(); same( findMeta().length, 1); }); - + test( "meta viewport element is not added to head when defined on mobile and a meta already exists", function(){ + findMeta().remove(); $( '').prependTo("head"); setViewPortContent(); same( findMeta().length, 1); }); - var findFirstPage = function() { + var findFirstPage = function() { return $("[data-role='page']").first(); }; From 6ca79aceb4bda5415ddf7829f632b21bfeca061b Mon Sep 17 00:00:00 2001 From: John Bender Date: Sun, 13 Mar 2011 23:40:03 -0700 Subject: [PATCH 56/83] fixed failing slider tests in firefox by adding data-type to type=range inputs --- tests/unit/slider/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/slider/index.html b/tests/unit/slider/index.html index c718ef51..63327fcf 100644 --- a/tests/unit/slider/index.html +++ b/tests/unit/slider/index.html @@ -26,24 +26,24 @@
- +
- +
- +
- +
- +
From 2b7a2669ac6235ebd7ce7ea1fa075a1fbc228c96 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 08:29:17 -0400 Subject: [PATCH 57/83] fixed a var typo. Thanks @mschroeder. --- js/jquery.mobile.forms.checkboxradio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.checkboxradio.js b/js/jquery.mobile.forms.checkboxradio.js index 10a80e66..51962029 100644 --- a/js/jquery.mobile.forms.checkboxradio.js +++ b/js/jquery.mobile.forms.checkboxradio.js @@ -129,7 +129,7 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, { _updateAll: function(){ this._getInputSet().each(function(){ var dVal = $(this).data("cacheVal"); - if( dVal && dVal !== $(this).is(":checked") || this.nputtype === "checkbox" ){ + if( dVal && dVal !== $(this).is(":checked") || this.inputtype === "checkbox" ){ $(this).trigger("change"); } }) From faa01256fa7413ca149ec7e028631ff71ce4d138 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 11:13:47 -0400 Subject: [PATCH 58/83] Grouped buttons had extra margins. Fixes #1231 --- themes/default/jquery.mobile.controlgroup.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.controlgroup.css b/themes/default/jquery.mobile.controlgroup.css index a772fcae..4c507c5f 100644 --- a/themes/default/jquery.mobile.controlgroup.css +++ b/themes/default/jquery.mobile.controlgroup.css @@ -12,8 +12,9 @@ .ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; } .ui-controlgroup-vertical .ui-controlgroup-last { border-bottom-width: 1px; } .ui-controlgroup-horizontal { padding: 0; } -.ui-controlgroup-horizontal .ui-btn { display: inline-block;} -.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { margin: 0 -5px 0 0; display: inline; } +.ui-controlgroup-horizontal .ui-btn, +.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { display: inline-block; margin: 0 -5px 0 0; } +.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { display: inline; } .ui-controlgroup-horizontal .ui-checkbox .ui-btn, .ui-controlgroup-horizontal .ui-radio .ui-btn, .ui-controlgroup-horizontal .ui-checkbox:last-child, .ui-controlgroup-horizontal .ui-radio:last-child { margin-right: 0; } .ui-controlgroup-horizontal .ui-controlgroup-last { margin-right: 0; } From 8943287c75f79d9bcfba30ffb2e82d1ce9d6d35d Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 14 Mar 2011 08:12:14 -0700 Subject: [PATCH 59/83] Revert "fixed failing slider tests in firefox by adding data-type to type=range inputs" This reverts commit 6ca79aceb4bda5415ddf7829f632b21bfeca061b. --- tests/unit/slider/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/slider/index.html b/tests/unit/slider/index.html index 63327fcf..c718ef51 100644 --- a/tests/unit/slider/index.html +++ b/tests/unit/slider/index.html @@ -26,24 +26,24 @@
- +
- +
- +
- +
- +
From 84ac4ebbb2c52aa5d674df86096562ec050b06d9 Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 14 Mar 2011 08:21:59 -0700 Subject: [PATCH 60/83] fixed input type regex for ff. It puts the type attribute at the end of the html string and breaks the trailing space. Checked in ie7 --- js/jquery.mobile.page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index c8a29e5c..6289157a 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -30,7 +30,7 @@ $.widget( "mobile.page", $.mobile.widget, { _create: function() { var $elem = this.element, - o = this.options; + o = this.options; this.keepNative = "[data-role='none'], [data-role='nojs']" + (o.keepNative ? ", " + o.keepNative : ""); @@ -116,7 +116,7 @@ $.widget( "mobile.page", $.mobile.widget, { break; } }); - + //enhance form controls this._enhanceControls(); @@ -150,7 +150,7 @@ $.widget( "mobile.page", $.mobile.widget, { if ( o.degradeInputs[ type ] ) { $( this ).replaceWith( $( "
" ).html( $(this).clone() ).html() - .replace( / type="?([a-zA-Z]+)"?\s/, " type=\""+ optType +"\" data-type=\""+type+"\" " ) ); + .replace( / type="?([a-zA-Z]+)"?/, " type=\""+ optType +"\" data-type=\""+type+"\" " ) ); } }); From dedb54d15f20bba774c5bdd1afec6b0b58d85183 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 18:44:31 -0400 Subject: [PATCH 61/83] set native select with custom button to opacity 0 instead of 0.0001. Note: I thought it was 0.0001 for a reason, but this checks out fine in WP7, WebOS, Android,iOS, Chrome, Safari, Firefox 4, Firefox 3.6, Opera Desktop & Mobile, IE 7 IE 8, IE 9, Blackberry 6. Sooo... that covers it. Fixes #1216 --- themes/default/jquery.mobile.forms.select.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/jquery.mobile.forms.select.css b/themes/default/jquery.mobile.forms.select.css index 7be3318a..15b84899 100644 --- a/themes/default/jquery.mobile.forms.select.css +++ b/themes/default/jquery.mobile.forms.select.css @@ -6,7 +6,7 @@ .ui-select { display: block; position: relative; } .ui-select select { position: absolute; left: -9999px; top: -9999px; } .ui-select .ui-btn { overflow: hidden; } -.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; height: 100%; opacity: 0.001; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } +.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } .ui-select .ui-btn select.ui-select-nativeonly { opacity: 1; } .ui-select .ui-btn-icon-right .ui-btn-inner { padding-right: 45px; } @@ -32,4 +32,4 @@ label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margi .min-width-480px .ui-select { width: 60%; display: inline-block; } /* when no placeholder is defined in a multiple select, the header height doesn't even extend past the close button. this shim's content in there */ -.ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; } +.ui-selectmenu .ui-header h1:after { content: '.'; visibility: hidden; } \ No newline at end of file From 50c2df122e4af1aa2db612c92afb45888986539e Mon Sep 17 00:00:00 2001 From: ray58750034 Date: Sat, 5 Mar 2011 22:06:52 +0800 Subject: [PATCH 62/83] set min-height of ui-block-* class, so the grid layout still work even some block doesn't contain any content. --- themes/default/jquery.mobile.grids.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/jquery.mobile.grids.css b/themes/default/jquery.mobile.grids.css index abaa56f6..3b274b3d 100644 --- a/themes/default/jquery.mobile.grids.css +++ b/themes/default/jquery.mobile.grids.css @@ -6,7 +6,7 @@ /* content configurations. */ .ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; } -.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; } +.ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;} /* grid a: 50/50 */ .ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; } From a4dc5888d0ac206b80dc657c89936c25e34f25b9 Mon Sep 17 00:00:00 2001 From: ray58750034 Date: Sat, 5 Mar 2011 22:39:02 +0800 Subject: [PATCH 63/83] add gridlayout test --- tests/functional/gridlayout.html | 65 ++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 tests/functional/gridlayout.html diff --git a/tests/functional/gridlayout.html b/tests/functional/gridlayout.html new file mode 100644 index 00000000..d72fe640 --- /dev/null +++ b/tests/functional/gridlayout.html @@ -0,0 +1,65 @@ + + + + + jQuery Mobile: Grid Layout + + + + + + + + +
+
+

Grid Layout

+
+ +
+

Touch events on this page will log out below, prepending to the top as they arrive.

+ +
+
+ Button 1 +
+
+ Button 2 +
+
+ Button 3 +
+
+ Button 4 +
+
+ Button 5 +
+
+ + Show all button + +
    + +
+ +
+
+ + From ddcacc14826ae63aa7a97b4762b81a3d912df1d0 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 19:34:16 -0400 Subject: [PATCH 64/83] changed from ternary to || --- js/jquery.mobile.navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index b5e251e2..732de880 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -632,7 +632,7 @@ $.mobile.changePage({ url: url, - type: ( type ? type : 'get' ), + type: type || "get", data: $(this).serialize() }, undefined, From b740854ae77ee13dabf68e195394ce756405e4cd Mon Sep 17 00:00:00 2001 From: Phil Barnes Date: Sat, 5 Mar 2011 01:55:22 +0800 Subject: [PATCH 65/83] Pass null event param for page _trigger beforehide and beforeshow -- Fixes issue #700 --- js/jquery.mobile.navigation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 732de880..3abe0c43 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -384,9 +384,9 @@ //set as data for returning to that spot from.data( "lastScroll", currScroll); //trigger before show/hide events - from.data( "page" )._trigger( "beforehide", { nextPage: to } ); + from.data( "page" )._trigger( "beforehide", null, { nextPage: to } ); } - to.data( "page" )._trigger( "beforeshow", { prevPage: from || $("") } ); + to.data( "page" )._trigger( "beforeshow", null, { prevPage: from || $("") } ); function loadComplete(){ From 11965092bbe71ff08e8b8749aba5d1923a4fa6ce Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Fri, 4 Mar 2011 18:54:33 +0800 Subject: [PATCH 66/83] Fix for #1017 - Listview - remove hover/focus on read-only items --- themes/default/jquery.mobile.theme.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/themes/default/jquery.mobile.theme.css b/themes/default/jquery.mobile.theme.css index ee82020f..fbc79eb0 100755 --- a/themes/default/jquery.mobile.theme.css +++ b/themes/default/jquery.mobile.theme.css @@ -76,7 +76,6 @@ background: #333333; font-weight: bold; color: #fff; - cursor: pointer; text-shadow: 0 -1px 1px #000; text-decoration: none; background-image: -moz-linear-gradient(top, @@ -197,7 +196,6 @@ background: #2567ab; font-weight: bold; color: #fff; - cursor: pointer; text-shadow: 0 -1px 1px #145072; text-decoration: none; background-image: -moz-linear-gradient(top, @@ -310,7 +308,6 @@ background: #eee; font-weight: bold; color: #444; - cursor: pointer; text-shadow: 0 1px 1px #f6f6f6; text-decoration: none; background-image: -moz-linear-gradient(top, @@ -544,7 +541,6 @@ background: #fadb4e; font-weight: bold; color: #333; - cursor: pointer; text-shadow: 0 1px 1px #fe3; text-decoration: none; text-shadow: 0 1px 0 #fff; From 7f48419a2989726e6d46d0b6423f3a9f85ce4345 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 20:26:20 -0400 Subject: [PATCH 67/83] This adds a fallback for navbars that have one item, so they simply fill 100%. Credit for this fix and idea goes to kennedyr (Richard Kennedy), but we changed the naming around a bit. Fixes #1107. Thanks Richard! --- docs/toolbars/docs-navbar.html | 10 ++++++++++ js/jquery.mobile.grid.js | 12 ++++++------ themes/default/jquery.mobile.grids.css | 5 ++++- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/docs/toolbars/docs-navbar.html b/docs/toolbars/docs-navbar.html index d5da7c01..11dda5a1 100755 --- a/docs/toolbars/docs-navbar.html +++ b/docs/toolbars/docs-navbar.html @@ -106,6 +106,16 @@
+

As a fallback, navbars with 1 item will simply render as 100%.

+ +
+
+ +
+
+

Navbars in headers

If you want to add a navbar to the top of the page, you can still have a page title and buttons. Just add the navbar container inside the header block, right after the title and buttons in the source order.

diff --git a/js/jquery.mobile.grid.js b/js/jquery.mobile.grid.js index a76b2d51..8950bfb6 100644 --- a/js/jquery.mobile.grid.js +++ b/js/jquery.mobile.grid.js @@ -13,7 +13,7 @@ $.fn.grid = function(options){ var $kids = $(this).children(), - gridCols = {a: 2, b:3, c:4, d:5}, + gridCols = {solo:1, a:2, b:3, c:4, d:5}, grid = o.grid, iterator; @@ -32,12 +32,13 @@ $.fn.grid = function(options){ $(this).addClass('ui-grid-' + grid); $kids.filter(':nth-child(' + iterator + 'n+1)').addClass('ui-block-a'); - $kids.filter(':nth-child(' + iterator + 'n+2)').addClass('ui-block-b'); - + if(iterator > 1){ + $kids.filter(':nth-child(' + iterator + 'n+2)').addClass('ui-block-b'); + } if(iterator > 2){ $kids.filter(':nth-child(3n+3)').addClass('ui-block-c'); } - if(iterator> 3){ + if(iterator > 3){ $kids.filter(':nth-child(4n+4)').addClass('ui-block-d'); } if(iterator > 4){ @@ -46,5 +47,4 @@ $.fn.grid = function(options){ }); }; -})(jQuery); - +})(jQuery); \ No newline at end of file diff --git a/themes/default/jquery.mobile.grids.css b/themes/default/jquery.mobile.grids.css index 3b274b3d..162cb838 100644 --- a/themes/default/jquery.mobile.grids.css +++ b/themes/default/jquery.mobile.grids.css @@ -8,6 +8,9 @@ .ui-grid-a, .ui-grid-b, .ui-grid-c, .ui-grid-d { overflow: hidden; } .ui-block-a, .ui-block-b, .ui-block-c, .ui-block-d, .ui-block-e { margin: 0; padding: 0; border: 0; float: left; min-height:1px;} +/* grid solo: 100 - single item fallback */ +.ui-grid-solo .ui-block-a { width: 100%; float: none; } + /* grid a: 50/50 */ .ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 50%; } .ui-grid-a .ui-block-a { clear: left; } @@ -22,4 +25,4 @@ /* grid d: 20/20/20/20/20 */ .ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 20%; } -.ui-grid-d .ui-block-a { clear: left; } \ No newline at end of file +.ui-grid-d .ui-block-a { clear: left; } From 2bfdd02a516299675879fd5f5e5832be7994dceb Mon Sep 17 00:00:00 2001 From: adammessinger Date: Fri, 28 Jan 2011 16:58:39 +0800 Subject: [PATCH 68/83] Fix for issue #900: buttons with rel attribute set to external don't show active state --- js/jquery.mobile.navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 3abe0c43..205f0913 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -697,7 +697,7 @@ // TODO: deprecated - remove at 1.0 !$.mobile.ajaxLinksEnabled ){ //remove active link class if external (then it won't be there if you come back) - removeActiveLinkClass(true); + window.setTimeout(function() {removeActiveLinkClass(true);}, 200); //deliberately redirect, in case click was triggered if( hasTarget ){ From bd4e4a7eeba183b01eec9b50265d3345f2a2a0b0 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 23:47:16 -0400 Subject: [PATCH 69/83] updated the retina sprite targeting to specifically apply to the icons in the sprite, and nothing broader. Credit for this commit goes to Adam Messinger (@adammessinger). Thanks Adam! --- themes/default/jquery.mobile.theme.css | 23 ++++++++++++++++------- themes/valencia/jquery.mobile.theme.css | 23 ++++++++++++++++------- 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/themes/default/jquery.mobile.theme.css b/themes/default/jquery.mobile.theme.css index fbc79eb0..5a3c743f 100755 --- a/themes/default/jquery.mobile.theme.css +++ b/themes/default/jquery.mobile.theme.css @@ -740,14 +740,23 @@ a.ui-link-inherit { /* HD/"retina" sprite -----------------------------------------------------------------------------------------------------------*/ -@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) { - .ui-icon { - background-image: url(images/icons-36-white.png); - background-size: 630px 18px; -} +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min--moz-device-pixel-ratio: 1.5), + only screen and (min-resolution: 240dpi) { + + .ui-icon-plus, .ui-icon-minus, .ui-icon-delete, .ui-icon-arrow-r, + .ui-icon-arrow-l, .ui-icon-arrow-u, .ui-icon-arrow-d, .ui-icon-check, + .ui-icon-gear, .ui-icon-refresh, .ui-icon-forward, .ui-icon-back, + .ui-icon-grid, .ui-icon-star, .ui-icon-alert, .ui-icon-info, .ui-icon-home, .ui-icon-search { + background-image: url(images/icons-36-white.png); + -moz-background-size: 630px 18px; + -o-background-size: 630px 18px; + -webkit-background-size: 630px 18px; + background-size: 630px 18px; + } .ui-icon-black { - background-image: url(images/icons-36-black.png); -} + background-image: url(images/icons-36-black.png); + } } /* plus minus */ diff --git a/themes/valencia/jquery.mobile.theme.css b/themes/valencia/jquery.mobile.theme.css index df7ab773..ee60405c 100644 --- a/themes/valencia/jquery.mobile.theme.css +++ b/themes/valencia/jquery.mobile.theme.css @@ -734,14 +734,23 @@ a.ui-link-inherit { /* HD/"retina" sprite -----------------------------------------------------------------------------------------------------------*/ -@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) { - .ui-icon { - background-image: url(images/icons-36-white.png); - background-size: 630px 18px; -} +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min--moz-device-pixel-ratio: 1.5), + only screen and (min-resolution: 240dpi) { + + .ui-icon-plus, .ui-icon-minus, .ui-icon-delete, .ui-icon-arrow-r, + .ui-icon-arrow-l, .ui-icon-arrow-u, .ui-icon-arrow-d, .ui-icon-check, + .ui-icon-gear, .ui-icon-refresh, .ui-icon-forward, .ui-icon-back, + .ui-icon-grid, .ui-icon-star, .ui-icon-alert, .ui-icon-info, .ui-icon-home, .ui-icon-search { + background-image: url(images/icons-36-white.png); + -moz-background-size: 630px 18px; + -o-background-size: 630px 18px; + -webkit-background-size: 630px 18px; + background-size: 630px 18px; + } .ui-icon-black { - background-image: url(images/icons-36-black.png); -} + background-image: url(images/icons-36-black.png); + } } /* plus minus */ From 6aa7db5fb58c5acded83dfc44f312affad37027a Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 14 Mar 2011 23:55:41 -0400 Subject: [PATCH 70/83] changed the secondary icon color class name to ui-icon-alt instead of ui-icon-black. This will be best when creating custom themes that might use slightly different icon colors. --- themes/default/jquery.mobile.theme.css | 4 ++-- themes/valencia/jquery.mobile.theme.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/default/jquery.mobile.theme.css b/themes/default/jquery.mobile.theme.css index 5a3c743f..484877c1 100755 --- a/themes/default/jquery.mobile.theme.css +++ b/themes/default/jquery.mobile.theme.css @@ -730,7 +730,7 @@ a.ui-link-inherit { /* Alt icon color -----------------------------------------------------------------------------------------------------------*/ -.ui-icon-black { +.ui-icon-alt { background: #fff; background: rgba(255,255,255,.3); background-image: url(images/icons-18-black.png); @@ -754,7 +754,7 @@ a.ui-link-inherit { -webkit-background-size: 630px 18px; background-size: 630px 18px; } - .ui-icon-black { + .ui-icon-alt { background-image: url(images/icons-36-black.png); } } diff --git a/themes/valencia/jquery.mobile.theme.css b/themes/valencia/jquery.mobile.theme.css index ee60405c..d8a8ec59 100644 --- a/themes/valencia/jquery.mobile.theme.css +++ b/themes/valencia/jquery.mobile.theme.css @@ -724,7 +724,7 @@ a.ui-link-inherit { /* Alt icon color -----------------------------------------------------------------------------------------------------------*/ -.ui-icon-black { +.ui-icon-alt { background: #fff; background: rgba(255,255,255,.3); background-image: url(images/icons-18-black.png); @@ -748,7 +748,7 @@ a.ui-link-inherit { -webkit-background-size: 630px 18px; background-size: 630px 18px; } - .ui-icon-black { + .ui-icon-alt { background-image: url(images/icons-36-black.png); } } From d16c46a6e947731f7e91802d8e65be21028ae026 Mon Sep 17 00:00:00 2001 From: hakanson Date: Mon, 28 Feb 2011 11:10:39 +0800 Subject: [PATCH 71/83] format search filter for inset lists --- js/jquery.mobile.listview.filter.js | 4 ++++ themes/default/jquery.mobile.listview.css | 2 ++ 2 files changed, 6 insertions(+) diff --git a/js/jquery.mobile.listview.filter.js b/js/jquery.mobile.listview.filter.js index 5b419b75..75e217da 100644 --- a/js/jquery.mobile.listview.filter.js +++ b/js/jquery.mobile.listview.filter.js @@ -51,6 +51,10 @@ $( "[data-role='listview']" ).live( "listviewcreate", function() { .appendTo( wrapper ) .textinput(); + if ($(this).data("inset") == true ) { + wrapper.addClass("ui-listview-filter-inset"); + } + wrapper.insertBefore( list ); }); diff --git a/themes/default/jquery.mobile.listview.css b/themes/default/jquery.mobile.listview.css index 5b683a6e..1ef515ba 100644 --- a/themes/default/jquery.mobile.listview.css +++ b/themes/default/jquery.mobile.listview.css @@ -37,6 +37,8 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid .ui-listview-filter { border-width: 0; overflow: hidden; margin: -15px -15px 15px -15px } .ui-listview-filter .ui-input-search { margin: 5px; width: auto; display: block; } +.ui-listview-filter-inset { margin: -15px -5px -15px -5px; background: transparent; } + /* Odd iPad positioning issue. */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { .ui-li .ui-btn-text { overflow: visible; } From 12616b310f3082530784b67d3ed28aecf1824365 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 15 Mar 2011 00:07:48 -0400 Subject: [PATCH 72/83] didn't need the == true test. --- js/jquery.mobile.listview.filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.listview.filter.js b/js/jquery.mobile.listview.filter.js index 75e217da..1b8df572 100644 --- a/js/jquery.mobile.listview.filter.js +++ b/js/jquery.mobile.listview.filter.js @@ -51,8 +51,8 @@ $( "[data-role='listview']" ).live( "listviewcreate", function() { .appendTo( wrapper ) .textinput(); - if ($(this).data("inset") == true ) { - wrapper.addClass("ui-listview-filter-inset"); + if ($( this ).data( "inset" ) ) { + wrapper.addClass( "ui-listview-filter-inset" ); } wrapper.insertBefore( list ); From 3275baf64cad1bef099453e39c9f297e6c9ac2a7 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 15 Mar 2011 00:08:01 -0400 Subject: [PATCH 73/83] added demo pages for inset filter lists --- docs/lists/index.html | 1 + docs/lists/lists-search-inset.html | 51 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100755 docs/lists/lists-search-inset.html diff --git a/docs/lists/index.html b/docs/lists/index.html index e27d3b9a..2a00a2f7 100755 --- a/docs/lists/index.html +++ b/docs/lists/index.html @@ -35,6 +35,7 @@
  • Icons
  • Content formatting
  • Search filter bar
  • +
  • Inset search filter bar
  • Search filter bar with dividers
  • Inset styled lists
  • List performance test
  • diff --git a/docs/lists/lists-search-inset.html b/docs/lists/lists-search-inset.html new file mode 100755 index 00000000..79ed1edb --- /dev/null +++ b/docs/lists/lists-search-inset.html @@ -0,0 +1,51 @@ + + + + + + jQuery Mobile Docs - Lists + + + + + + + + +
    + +
    +

    Inset Search filter bar

    + Home +
    + + +
    + + + \ No newline at end of file From a987adb6105a7fb1d4de69cabb4f931975803024 Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 14 Mar 2011 23:45:22 -0700 Subject: [PATCH 74/83] altered type attribute regex per @jblas, moved to 'private' prototype attribute for testing --- js/jquery.mobile.page.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.page.js b/js/jquery.mobile.page.js index 6289157a..b3918a1e 100644 --- a/js/jquery.mobile.page.js +++ b/js/jquery.mobile.page.js @@ -139,8 +139,10 @@ $.widget( "mobile.page", $.mobile.widget, { $elem.fixHeaderFooter(); }, + _typeAttributeRegex: /\s+type=["']?\w+['"]?/, + _enhanceControls: function() { - var o = this.options; + var o = this.options, self = this; // degrade inputs to avoid poorly implemented native functionality this.element.find( "input" ).not(this.keepNative).each(function() { @@ -150,7 +152,7 @@ $.widget( "mobile.page", $.mobile.widget, { if ( o.degradeInputs[ type ] ) { $( this ).replaceWith( $( "
    " ).html( $(this).clone() ).html() - .replace( / type="?([a-zA-Z]+)"?/, " type=\""+ optType +"\" data-type=\""+type+"\" " ) ); + .replace( self._typeAttributeRegex, " type=\""+ optType +"\" data-type=\""+type+"\" " ) ); } }); From cd654a4eaedb109b02d46a6ba98c6dcee5b11d8b Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 14 Mar 2011 23:47:43 -0700 Subject: [PATCH 75/83] moved page unit tests back under anon function --- tests/unit/page/page_core.js | 46 +++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/tests/unit/page/page_core.js b/tests/unit/page/page_core.js index ce28dfe1..e21e1c77 100644 --- a/tests/unit/page/page_core.js +++ b/tests/unit/page/page_core.js @@ -1,32 +1,34 @@ /* * mobile page unit tests */ -module('jquery.mobile.page.js'); +(function($){ + module('jquery.mobile.page.js'); -test( "nested header anchors aren't altered", function(){ - ok(!$('.ui-header > div > a').hasClass('ui-btn')); -}); + test( "nested header anchors aren't altered", function(){ + ok(!$('.ui-header > div > a').hasClass('ui-btn')); + }); -test( "nested footer anchors aren't altered", function(){ - ok(!$('.ui-footer > div > a').hasClass('ui-btn')); -}); + test( "nested footer anchors aren't altered", function(){ + ok(!$('.ui-footer > div > a').hasClass('ui-btn')); + }); -test( "nested bar anchors aren't styled", function(){ - ok(!$('.ui-bar > div > a').hasClass('ui-btn')); -}); + test( "nested bar anchors aren't styled", function(){ + ok(!$('.ui-bar > div > a').hasClass('ui-btn')); + }); -test( "unnested footer anchors are styled", function(){ - ok($('.ui-footer > a').hasClass('ui-btn')); -}); + test( "unnested footer anchors are styled", function(){ + ok($('.ui-footer > a').hasClass('ui-btn')); + }); -test( "unnested footer anchors are styled", function(){ - ok($('.ui-footer > a').hasClass('ui-btn')); -}); + test( "unnested footer anchors are styled", function(){ + ok($('.ui-footer > a').hasClass('ui-btn')); + }); -test( "unnested bar anchors are styled", function(){ - ok($('.ui-bar > a').hasClass('ui-btn')); -}); + test( "unnested bar anchors are styled", function(){ + ok($('.ui-bar > a').hasClass('ui-btn')); + }); -test( "no auto-generated back button exists on first page", function(){ - ok( !$('.ui-header > [data-rel="back"]').length ); -}); + test( "no auto-generated back button exists on first page", function(){ + ok( !$('.ui-header > [data-rel="back"]').length ); + }); +})(jQuery); \ No newline at end of file From b56626fba18d6b5ac939ba0577490b4a11b404ad Mon Sep 17 00:00:00 2001 From: John Bender Date: Mon, 14 Mar 2011 23:49:07 -0700 Subject: [PATCH 76/83] added type attribute regex tests for the different ways that browsers serialize html --- tests/unit/page/page_core.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/unit/page/page_core.js b/tests/unit/page/page_core.js index e21e1c77..805d9caa 100644 --- a/tests/unit/page/page_core.js +++ b/tests/unit/page/page_core.js @@ -2,7 +2,10 @@ * mobile page unit tests */ (function($){ - module('jquery.mobile.page.js'); + var libName = 'jquery.mobile.page.js', + typeAttributeRegex = $.mobile.page.prototype._typeAttributeRegex; + + module(libName); test( "nested header anchors aren't altered", function(){ ok(!$('.ui-header > div > a').hasClass('ui-btn')); @@ -31,4 +34,15 @@ test( "no auto-generated back button exists on first page", function(){ ok( !$('.ui-header > [data-rel="back"]').length ); }); + + test( "input type replacement regex works properly", function(){ + ok(typeAttributeRegex.test( "" ), "test final attribute (FF)" ); + + ok(!typeAttributeRegex.test( " Date: Tue, 15 Mar 2011 12:00:39 -0400 Subject: [PATCH 77/83] when the select's options don't match the list item options, it should be rebuilt. Fixes #1240 --- js/jquery.mobile.forms.select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 993b099c..7d1154d9 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -359,7 +359,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { return options.index( this ); }).get(); - if( !self.options.nativeMenu && ( forceRebuild || select[0].options.length > self.list.find('li').length )){ + if( !self.options.nativeMenu && ( forceRebuild || select[0].options.length != self.list.find('li').length )){ self._buildList(); } From da24d2779637a6ee01542b1e34b764a88023d1dd Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 15 Mar 2011 15:00:20 -0400 Subject: [PATCH 78/83] Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace. --- js/jquery.mobile.core.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index e4f9e9a4..952dd061 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -109,4 +109,15 @@ }, 150 ); } }); + + // Monkey-patching Sizzle to filter the :jqdata selector + var oldFind = jQuery.find; + + jQuery.find = function( selector, context, ret ) { + selector = selector.replace(/:jqdata\((.*)\)/g, "[data-" + (jQuery.mobile.ns || "") + "$1]"); + + return oldFind.call( this, selector, context, ret ); + }; + + jQuery.extend( jQuery.find, oldFind ); })( jQuery, this ); From 6138a57e67dd0de662290f4b98518eb6b0806952 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 15 Mar 2011 15:05:22 -0400 Subject: [PATCH 79/83] Revert "Adding in a new :jqdata() selector for filtering data- attributes within the proper jQuery Mobile namespace." This reverts commit da24d2779637a6ee01542b1e34b764a88023d1dd. --- js/jquery.mobile.core.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/jquery.mobile.core.js b/js/jquery.mobile.core.js index 952dd061..e4f9e9a4 100644 --- a/js/jquery.mobile.core.js +++ b/js/jquery.mobile.core.js @@ -109,15 +109,4 @@ }, 150 ); } }); - - // Monkey-patching Sizzle to filter the :jqdata selector - var oldFind = jQuery.find; - - jQuery.find = function( selector, context, ret ) { - selector = selector.replace(/:jqdata\((.*)\)/g, "[data-" + (jQuery.mobile.ns || "") + "$1]"); - - return oldFind.call( this, selector, context, ret ); - }; - - jQuery.extend( jQuery.find, oldFind ); })( jQuery, this ); From 4e13021a5362834958fdf00fd5e9dc91ea610e30 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 15 Mar 2011 18:23:24 -0400 Subject: [PATCH 80/83] fixed bug where clicking back twice after opening a dialog select was causing the main page to hide. history.back was being called twice in some cases when clicking the custom close button. Fixes #1007 --- js/jquery.mobile.forms.select.js | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/js/jquery.mobile.forms.select.js b/js/jquery.mobile.forms.select.js index 7d1154d9..e899f989 100644 --- a/js/jquery.mobile.forms.select.js +++ b/js/jquery.mobile.forms.select.js @@ -264,22 +264,10 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { }); //events on "screen" overlay + close button - screen - .add( headerClose ) - .add( menuPageClose ) - .bind("click", function(event){ - self.close(); - event.preventDefault(); - - // if the dialog's close icon was clicked, prevent the dialog's close - // handler from firing. selectmenu's should take precedence - if( $.contains(menuPageClose[0], event.target) ){ - event.stopImmediatePropagation(); - } - }); + screen.click(function( event ){ + self.close(); + }); } - - }, _buildList: function(){ @@ -415,6 +403,11 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { //add active class to button self.button.addClass( $.mobile.activeBtnClass ); + + //remove after delay + setTimeout(function(){ + self.button.removeClass( $.mobile.activeBtnClass ); + }, 300); function focusMenuItem(){ self.list.find( ".ui-btn-active" ).focus(); @@ -504,9 +497,6 @@ $.widget( "mobile.selectmenu", $.mobile.widget, { function focusButton(){ setTimeout(function(){ self.button.focus(); - - //remove active class from button - self.button.removeClass( $.mobile.activeBtnClass ); }, 40); self.listbox.removeAttr('style').append( self.list ); From 09ffa3aa5f93680f3155a9abb2bca179f02295f7 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 15 Mar 2011 18:49:39 -0400 Subject: [PATCH 81/83] Clarified data-ajax=false on forms. Fixes #1134 --- js/jquery.mobile.navigation.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 205f0913..a89851e0 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -612,10 +612,11 @@ /* Event Bindings - hashchange, submit, and click */ //bind to form submit events, handle with Ajax - $( "form[data-ajax!='false']" ).live('submit', function(event){ + $( "form" ).live('submit', function(event){ if( !$.mobile.ajaxEnabled || //TODO: deprecated - remove at 1.0 - !$.mobile.ajaxFormsEnabled ){ return; } + !$.mobile.ajaxFormsEnabled || + $(this).is( "[data-ajax='false']" ) ){ return; } var type = $(this).attr("method"), url = path.clean( $(this).attr( "action" ) ); From 143a8df2562a39181da8dab31f7470ef2028dcf7 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 15 Mar 2011 19:04:58 -0400 Subject: [PATCH 82/83] less padding on select menu titles. Credit goes to oiva (Oiva Eskola). Thanks! --- themes/default/jquery.mobile.forms.select.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/default/jquery.mobile.forms.select.css b/themes/default/jquery.mobile.forms.select.css index 15b84899..108c7577 100644 --- a/themes/default/jquery.mobile.forms.select.css +++ b/themes/default/jquery.mobile.forms.select.css @@ -27,6 +27,7 @@ label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margi .ui-screen-hidden, .ui-selectmenu-list .ui-li .ui-icon { display: none; } .ui-selectmenu-list .ui-li .ui-icon { display: block; } .ui-li.ui-selectmenu-placeholder { display: none; } +.ui-selectmenu .ui-header .ui-title { margin: 0.6em 46px 0.8em; } .min-width-480px label.ui-select { display: inline-block; width: 20%; margin: 0 2% 0 0; } .min-width-480px .ui-select { width: 60%; display: inline-block; } From b3cfe8778f9e4f19957b0745581eaeea54a95bd4 Mon Sep 17 00:00:00 2001 From: toddparker Date: Tue, 15 Mar 2011 19:21:27 -0400 Subject: [PATCH 83/83] Added documentation on how to disable Ajax form submission via data- attribute and gloabl config. --- docs/forms/forms-sample.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/forms/forms-sample.html b/docs/forms/forms-sample.html index 93264025..cfe320aa 100755 --- a/docs/forms/forms-sample.html +++ b/docs/forms/forms-sample.html @@ -20,10 +20,16 @@
    -

    Form submission

    +

    Ajax form submission

    In jQuery Mobile, form submissions are automatically handled using Ajax whenever possible, creating a smooth transition between the form and the result page. To ensure your form submits as intended, be sure to specify action and method properties on your form element.

    -

    This page demonstrates automated ajax handling of form submissions. The form below is configured to send regular a get request to forms-sample-response.php. On submit, jQuery Mobile will make sure that the Url specified is able to be retrieved via Ajax, and handle it appropriately. Keep in mind that just like ordinary HTTP form submissions, jQuery Mobile allows get result pages to be bookmarked by updating the Url hash when the response returns successfully. Also like ordinary form submissions, post requests do not contain query parameters in the hash, so they are not bookmarkable.

    + +

    Non-Ajax handling

    + +

    To prevent form submissions from being automatically handled with Ajax, add the data-ajax="false" attribute to the form element. You can also turn of Ajax form handling completely via the ajaxFormsEnabled global config option.

    + +

    Simple Ajax form example

    +

    This page demonstrates automated ajax handling of form submissions. The form below is configured to send regular a get request to forms-sample-response.php. On submit, jQuery Mobile will make sure that the Url specified is able to be retrieved via Ajax, and handle it appropriately. Keep in mind that just like ordinary HTTP form submissions, jQuery Mobile allows get result pages to be bookmarked by updating the Url hash when the response returns successfully. Also like ordinary form submissions, post requests do not contain query parameters in the hash, so they are not bookmarkable.