Commit graph

46 commits

Author SHA1 Message Date
Alex Kovar
9970d76a02 remove extra timeout 2011-02-02 12:59:01 -06:00
Alex Kovar
2754087fc7 externalize $.mobile.urlHistory.clear function 2011-02-02 12:58:27 -06:00
Alex Kovar
5b4dc3ab4a fixes for jquery.mobile.navigation.js to accommodate asynchronous changePage 2011-02-01 14:08:20 -06:00
Alex Kovar
eed66df3da testDone instead of testStart 2011-02-01 14:08:19 -06:00
Alex Kovar
d4c8c3cee2 fix for $.mobile.urlHistory test 2011-02-01 14:08:19 -06:00
Alex Kovar
aea4bfabfc fix for path.get test 2011-02-01 14:08:19 -06:00
Alex Kovar
1eed03cf0c Fixed issue with simultaneous page transitions. Closes gh-856
Conflicts:

	js/jquery.mobile.navigation.js
	tests/unit/navigation/navigation_transitions.js
2011-02-01 14:07:17 -06:00
scottjehl
a5c8f86d10 links with no href attribute will not throw an error when clicked. Fixes #932 2011-02-01 01:01:41 -05:00
scottjehl
e00f007792 missed a name change in the unit test 2011-02-01 00:52:31 -05:00
scottjehl
6eefb23406 changed the name of urlHistory.listeningEnabled to urlHistory.ignoreNextHashChange. The name more accurately reflects the purpose of this internal toggle. Unit tests included. Also Fixes #930 2011-01-31 23:56:56 -05:00
scottjehl
92f863d062 typo in test description 2011-01-31 23:49:30 -05:00
scottjehl
4c4ccbd971 removed the position plugin script references 2011-01-31 23:48:13 -05:00
scottjehl
35b1df81e7 changePage was firing more than once because hash listening was not disabled long enough to prevent listening of the resulting async hashchange event after setting location.hash. This change makes urlHistory.listeningEnabled act as an internal toggle (as it used to), so it is only meant for ignoring a single hashchange event. A future change might be appropriate to change its name to something more like "ignoreNextHashChange".
Unit test included.

Fixes #930
2011-01-31 23:47:01 -05:00
scottjehl
3162428558 added hashListeningEnabled global flag. This is meant as a global config option for end users to disable hashchange listening (as opposed to urlHistory.listeningEnabled, which is an internal toggle). Unit test included. Fixes #748 2011-01-31 23:25:36 -05:00
John Bender
202ed5ff2c corrected failing tests in navigation 2011-01-29 22:50:48 -08:00
scottjehl
423e6fb276 added complete test coverage for $.mobile.urlHistory methods and properties 2011-01-26 18:51:22 -05:00
scottjehl
6a1cbc0953 added unit tests for path.isRelative. Test coverage for $.mobile.path is now complete! 2011-01-26 18:07:21 -05:00
scottjehl
3484c401c2 added unit test for path.hasProtocol 2011-01-26 18:02:15 -05:00
scottjehl
20c86f655e combined path.isExternal tests 2011-01-26 17:58:16 -05:00
scottjehl
c3ed538542 unit test for path.isExternal 2011-01-26 08:41:35 -05:00
scottjehl
1156045e0c unit test for path.stripHash 2011-01-26 08:39:35 -05:00
scottjehl
ca036b1b5e added unit test for path.clean 2011-01-26 08:35:01 -05:00
scottjehl
c3a8630605 unit test for path.makeAbsolute 2011-01-26 08:25:20 -05:00
scottjehl
70d4187f5f added unit test for path.set 2011-01-26 00:11:16 -05:00
scottjehl
078e307a4d fixed a typo in unit test 2011-01-26 00:09:47 -05:00
scottjehl
fe994b7c0c added unit test for path.getFilePath 2011-01-26 00:02:34 -05:00
scottjehl
85a6d878eb removed unit test - seemed incorrect 2011-01-25 23:57:18 -05:00
scottjehl
9e4b0a484c Overhauled path object and exposed it and the base object via $.mobile. Form and Link handlers now use the path methods internally. Unit tests adjusted, but more are needed to fully cover the path and base propeties and methods. Fixes #566. 2011-01-22 17:42:07 -05:00
John Bender
e5d2bf1b66 added target check to $.mobile.isExternalLink 2011-01-20 23:05:37 -08:00
John Bender
fedb0a7366 added tests for external link function 2011-01-19 23:57:51 -08:00
John Bender
96d941ebe9 added the ability to disable ajax forms with data-ajax=false, attribute up for debate, Fixes #519 2011-01-08 23:47:07 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
John Bender
fa760da3bd docs updated with information about the slider keys 2010-12-22 23:53:44 -08:00
John Bender
b2d58c1f30 slider keypress tests, comments, and style addition to navigation test page 2010-12-22 23:18:14 -08:00
John Bender
5a7377d6d1 spurious character removed from navigation markup 2010-12-16 19:20:34 -08:00
John Bender
b8babd1003 removed console log and added test for default transition 2010-12-16 19:12:58 -08:00
John Bender
8e30a3dc8a corrected tests message output 2010-12-16 18:27:49 -08:00
John Bender
1497e605d3 test fixes and addition for proper back transitions 2010-12-16 18:26:35 -08:00
John Bender
7ffec259c5 added tests for explicit transition on back 2010-12-16 18:21:46 -08:00
John Bender
9e21bb9924 small test corrections 2010-12-16 18:20:17 -08:00
jzaefferer
458a56839b Updated unit tests: Drop document-ready block, use #qunit-fixture instead of #main and drop extra styles now provided by QUnit. 2010-12-16 10:34:23 +01:00
John Bender
39e5e75ca1 fixed test descriptions 2010-12-14 00:11:02 -08:00
John Bender
5114995865 notes on test fixture oddities 2010-12-14 00:05:29 -08:00
John Bender
54ea95a3d8 added negative test case for perspective transition and simple case for transitioning class 2010-12-14 00:05:29 -08:00
John Bender
56cb1bce38 test replaced with TODO issues with page transition 2010-12-13 10:41:16 -08:00
John Bender
95ef08b269 perspective class only added on flip page transition or any transition added to the perspectiveTransitions local var in the transitionPages function Fixes #568 2010-12-13 02:21:40 -08:00