Kin Blas
5e87e8481d
Did a sweep over all tests (except for filter tests) to convert them to pageSequence() where possible. This fixes the test bustages caused by the changePage() refactoring. Note that the "Multiple nested lists on a page" test is still busted, as it is on the HEAD.
2011-05-23 16:51:37 -07:00
Kin Blas
786ef25e0a
Changes to get the navigation unit tests green again.
...
- Modified changePage() to set isPageTransitioning earlier.
- Modified pageSequence() to allow the current changepage callback stack to unwind before firing off the next function in the sequence.
2011-05-23 14:30:40 -07:00
John Bender
a2834bb367
removed two unnecessary tests from the navigation suite, and moved a few more over to the pageSequence helper.
2011-05-21 23:36:06 -07:00
John Bender
dc530ea751
page sequence helper added, nav tests in a somewhat better state. the event trigger spot, namespace, and general setup are all up for debate
2011-05-21 22:15:12 -07:00
Kin Blas
2cfacc4804
Changes to get the navigation_core and navigation_helpers tests to pass again:
...
- Modified changePage() click test so that it expects changePage() to be called twice.
- Added changePage() test that makes sure it is called once when it is invoked with a page element instead of a URL.
- Added siteDirectory path to be used with some tests which assumed that the tests directory was at the top-level of the server site.
2011-05-20 15:32:17 -07:00
Kin Blas
5ba2cc975e
Inverted the logic around ignoreNextHashChange so that it actually matches the name of the variable.
...
Modified the hashchange callback so that it specifies a "none" transition, instead of a false boolean, for the case where the hash changed and there is nothing on the urlHistory stack.
2011-05-20 15:19:54 -07:00
Kin Blas
3c792c58f0
Merge branch 'master' into navigation
...
Fixed Conflicts:
js/jquery.mobile.init.js
js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
John Bender
4c299a600b
moved nsNormalize from replace to jquery camelCase function
2011-05-20 09:20:15 -07:00
John Bender
ad6279dd8a
small optimization to prevent unnecessary recompilation of normalization regex
2011-05-20 01:09:39 -07:00
John Bender
3520e77dc4
comment for clarity on function purpose
2011-05-20 00:48:41 -07:00
John Bender
118599748b
comment whitespace
2011-05-20 00:43:53 -07:00
John Bender
15b93909f5
tests for nsNormalize
2011-05-20 00:42:11 -07:00
John Bender
7eb1085764
data attribute namespace normalization to comply with spec and jquery 1.6 changes
2011-05-20 00:31:27 -07:00
John Bender
2cff5c3380
whitespace in core tests
2011-05-20 00:30:05 -07:00
Kin Blas
edc94fb6ec
The dialog "pop" unit test was failing because the active variable in changePage() was being dereferenced. The unit test clears the urlHistory.stack array manually so we just need to make sure we don't dereference active if it doesn't exist.
2011-05-19 17:01:26 -07:00
John Bender
6487eb684f
spaces to tabs in core
2011-05-19 15:36:22 -07:00
Kin Blas
59afbda49b
Added a pageContainer option to changePage and loadPage.
2011-05-18 18:06:15 -07:00
Todd Parker
75c7ba1447
Merge pull request #1661 from eddiemonge/makefile_deploy
...
Makefile: Updated the deploy script and added comments for the regular ma
2011-05-18 18:06:03 -07:00
eddiemonge
83fe2542a5
Makefile: Updated the deploy script and added comments for the regular make process so the user knows whats going on
2011-05-18 18:02:10 -07:00
Kin Blas
3a047112a0
Removed debug try/catch block I accidentally checked in.
...
Made lots of whitespace changes to bring file up to jquery core style guidelines.
2011-05-18 16:38:04 -07:00
Kin Blas
cafb6acef9
Separated changePage() into 2 functions:
...
- loadPage() now loads all pages into the DOM.
- changePage() only functions on pages that are in the DOM. If you call it with a URL instead of an element, it will call loadPage() which will then trigger a call to changePage() with the resulting page at a later time.
2011-05-18 15:58:15 -07:00
scottjehl
ae7d62a1bc
code style & repetition cleanup
2011-05-18 18:32:59 -04:00
Scott Jehl
24fff18186
Merge pull request #1656 from VTWoods/bug_1635
...
#1635 Collapsible not triggering resize event. Fixes #1635
2011-05-18 15:30:11 -07:00
scottjehl
10ce4a7c32
fixed some tests that failed in my last changes
2011-05-18 18:25:59 -04:00
vtwoods
5918e5ad9f
Moved the resize event into the fixed toolbar plugin.
2011-05-18 18:17:41 -04:00
scottjehl
e4336f38ae
changed the docs to represent the new auto back button default
2011-05-18 18:05:05 -04:00
scottjehl
fd0819f379
turned auto back button additions off by default. Fixes #1657 . To turn auto backbuttons on, you can set the page plugin's autoBackBtn option to true per page, or globally via its configuration prototype. You can also use the data-auto-back-btn attribute on a page div.
2011-05-18 17:17:13 -04:00
scottjehl
83652dd1d0
beta pre version
2011-05-18 16:57:14 -04:00
vtwoods
18c7d590ce
Merge branch 'master' of https://github.com/jquery/jquery-mobile into bug_1635
2011-05-18 16:20:21 -04:00
vtwoods
7022c19322
Fixed the bug where collapsing or expanding a collapsable did not cause a resize event to be triggered
2011-05-18 16:12:57 -04:00
Todd Parker
a562cb1199
Merge pull request #1652 from gnikibog/patch-1
...
Missing space in generated page markup. Thanks gnikibog!
2011-05-18 08:47:23 -07:00
gnikibog
1b49245489
Missing space in generated page markup
2011-05-18 07:02:06 -07:00
scottjehl
adf3808e84
Removed the dynamically-appended Meta tag, which was deprecated in Alpha 4, and scheduled for removal in beta. jQM users must provide their own meta viewport tag in the head of jQM apps.
2011-05-17 18:03:54 -04:00
scottjehl
04cb9c1850
followup to previous change, this time for dynamically appended meta viewport tags.
2011-05-17 17:30:13 -04:00
scottjehl
8ba4c27300
Ya'll can scale your pages now. Fixes #1645 . Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
2011-05-17 17:28:19 -04:00
Kin Blas
b96310eedf
- Externalize some of the nested functions in changePage().
...
- Modified changePage() so that it can take an options object. Updated all references throughout the framework.
- Split $.mobile.pageLoading() into 2 functions $.mobile.show/hidePageLoadingMsg(). Updated docs accordingly.
- Renamed $.mobile.defaultTransition to $.mobie.defaultPageTransition. Updated docs accordingly.
- Added $.mobile.defaultDialogTransition so that it isn't hard coded in the changePage/transitionPages and select code.
- Hand integrated jquery.mobile.navigation.js checkins from master: 4b4ee54a , e775f5e8 , e597ccb3 , 084bbbd8 .
2011-05-16 16:02:26 -07:00
Todd Parker
68142beba7
Merge pull request #1637 from gseguin/master
...
Removed double "-" in "data-" attributes
2011-05-16 08:53:27 -07:00
Ghislain Seguin
b0b24add1f
Removed double "-" in "data-" attributes
2011-05-16 08:43:02 -07:00
Todd Parker
27f1f9bbff
Merge pull request #1636 from gseguin/master
...
Added unit test for issue #1617 for nested lists with thumbnails. THanks gseguin.
2011-05-16 07:19:50 -07:00
Ghislain Seguin
df9d846bfc
Added unit test for issue #1617
2011-05-15 21:33:40 -07:00
Ghislain Seguin
cabdf7926b
Revert "Added unit test for issue #1617 "
...
This reverts commit 3c7c73e5ca .
2011-05-15 21:28:40 -07:00
Ghislain Seguin
3c7c73e5ca
Added unit test for issue #1617
2011-05-15 21:13:04 -07:00
Todd Parker
877651a7cd
Merge pull request #1631 from joshiabk/master
...
jQuery Search Textbox change to add new focus event which will show clear button when some item gets pasted directly without key event to search text box. Thanks joshiabk
2011-05-14 03:25:23 -07:00
Abhishek Joshi
cb645ede22
Add new focus event which will show cross button on search textbox when some item get paste directly without key event to search text box
2011-05-13 22:44:47 -07:00
Kin Blas
022f811dab
Merge pull request #1630 from eddiemonge/fr_timestamped
...
For all versions of make except for deploy, the outputted scripts will ha
2011-05-13 16:16:08 -07:00
eddiemonge
19c952a3bd
For all versions of make except for deploy, the outputted scripts will have the git info used for that build. Deploy will still use the version in the version.txt file
2011-05-13 16:01:31 -07:00
Kin Blas
690fff9409
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-05-13 15:27:50 -07:00
Kin Blas
7df38d9abf
Upgrade to jQuery 1.6.1 to pick up :checked fixes.
2011-05-13 15:27:09 -07:00
Todd Parker
47d9de4088
Merge pull request #1629 from eddiemonge/bug_updatecdn
...
Modify the nightly script to update the CDN.
2011-05-13 15:21:49 -07:00
eddiemonge
ea2ed9dc08
Update the CDN but dont output messages
2011-05-13 15:20:19 -07:00