John Bender
c716ab707a
take closestParentPage off of $.fn
2011-12-09 14:39:57 -08:00
John Bender
a80e4c3b4c
test that closestPageData works as expected
2011-12-09 12:31:49 -08:00
Eddie Monge
88884db175
Unify css and js references for doc changes
2011-11-08 18:39:49 -08:00
jblas@adobe.com
d6f2f438b6
Fixing the busted unit/core tests.
...
- Clear the namespace property name cache if the namespace is changed.
2011-11-08 13:05:51 -08:00
Eddie Monge
8bc5e42fb3
2700: Step 5 Update all doc references
2011-10-17 13:51:45 -07:00
Jörn Zaefferer
0ed1460279
Add swarminject.js to prepare for TestSwarm integration
2011-10-04 15:02:17 -04:00
John Bender
9acbcb3b15
add test to guarantee that getEncodedText does not return html
2011-09-27 15:55:44 -07:00
John Bender
d816fe1ec1
tests for getEncodedText helper and issue #2547
2011-09-27 15:48:52 -07:00
John Bender
4852491f9e
test for new core helpers
2011-09-23 16:32:56 -07:00
John Bender
890c96146e
test core helpers
2011-09-23 16:32:56 -07:00
gseguin
141b199224
Updated tests for $.jqmData() and $.fn.jqmData() to match the new behavior
2011-10-05 15:13:44 -07:00
gseguin
095d731398
Updated tests following removal of .jqmHasData() ( commit 15667eee1b )
2011-09-16 09:19:12 -07:00
gseguin
101657d7b7
Tests following .jqmData() behavior change ( commit a0ca22ae3d )
2011-09-16 09:14:46 -07:00
John Bender
345c9e4dbb
moved 20ms scroll test to test that it the scrolling is async. 20ms isn't enough time to be reliable
2011-06-26 12:10:11 -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
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
John Bender
dfab3d7920
increased two test timeouts to give slower ci test browser time work, also included a small whitespace fix to nav
2011-04-21 23:17:08 -07:00
scottjehl
d97a964884
been meaning to do this for a while.
2011-04-14 16:04:47 -04:00
scottjehl
e8cee23744
major simplification of jqmData method, while adding new methods for jqmRemoveData, and also their $-namepaced utility methods, including $.jqmHasData. Commit includes 20 new unit tests included to test compatibility with jQuery core's data methods, and docs are updated as well.
2011-03-26 14:14:02 -04:00
John Bender
018609fa32
removed mass of duplication from core of functionality that was moved to init, fixed init tests
2011-03-22 00:26:24 -07:00
John Bender
7df9e245f4
test namespace additions and type fix for core
2011-03-21 23:36:32 -07:00
John Bender
63e8f6bfcb
resolved merge conflicts and fixed 2 tests
2011-03-15 23:57:17 -07:00
scottjehl
f69c98caf0
gradeA adjusted to IE7 and up rather than 6 and up ( this still includes Windows Phone 7). Unit test adjusted to match
2011-03-14 00:20:26 -04:00
scottjehl
b2222388d7
updated to latest
2011-03-14 00:20:26 -04:00
scottjehl
0d9627d54e
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.
2011-03-14 00:20:23 -04:00
John Bender
a33f777952
fixed core unit tests for ns
2011-03-11 22:50:26 -08:00
scottjehl
0bf5ce8a37
set unit test pages namespace to "nstest-"
2011-03-09 23:16:48 -05:00
scottjehl
3cae8f8bf0
caught a few more
2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752
updated docs with jq namespace, found some more stragglers
2011-03-09 21:03:40 -05:00
John Bender
3b21481cee
small simplification of core scrolling tests
2011-03-04 22:25:33 -08:00
John Bender
433384e150
altered tests to represent init change and added two for the load message customization Fixes #1178
2011-03-03 18:08:47 -08:00
John Bender
2704975095
re arranged tests for mobile init
2011-02-20 18:07:17 -08:00
John Bender
a025c0bffc
backed out autoInitialize moving to feature request backlog
2011-02-06 21:18:51 -08:00
John Bender
cbd1eb7ac9
moved page and dialog styling to qunit css to remove repition and make sure that its consistent across pages
2011-02-05 21:22:50 -08:00
John Bender
8bfb687d2c
whitespace in core tests
2011-02-02 22:39:55 -08:00
unknown
9caaa9cfde
Added ability to control if $.mobile will automatically load first page/pages on dom ready using $.mobile.autoInitialize.
2011-02-01 22:04:05 -08:00
John Bender
992fba1e7c
fix for core tests. Note: pages can only be one level below the mobile viewport or bad things happen
2011-01-31 23:09:36 -08:00
scottjehl
b3a8230638
This commit includes simplifications to the hashchange event handling & changePage logic, which results in a few bug fixes and removal of some previous limitations. Details:
...
- jquery.mobile.core.js no longer creates pages from every page and dialog in the DOM automatically at domready. Instead, pages are created as they are referenced via changePage, which can speed up pageload in multi-page documents, and means local "dialogs" referenced via data-rel="dialog" no longer need a data-role="dialog" attribute when served.
- in changePage, "from" is now allowed to be undefined. This simplifies the logic involved in showing the first page, which never had a "from" page, and previously needed a custom pageChange workaround to accommodate that.
- The pageshow event is no longer used as a callback for returning false and preventing the $.mobile.activePage from being set to the newly shown page. In other words, a page always becomes $.mobile.activePage once its shown now (the only reason this was optional before was because of a dialog restriction that's no longer true)
- the hashchange event logic for showing a particular page is now greatly simplified. It either shows the page referenced in location.hash, or if there's no hash it changes to the first page in the dom. This means every pageshow (including the first one) now uses pageChange internally.
- the hashchange event listener is no longer disabled when ajaxEnabled == false. Doing this before prevented local non-ajax page navigation from working properly. To disable hashchange listening, use $.mobile.urlHistory.listeningEnabled. We might consider defining (or moving) this on the $.mobile hash later as well for easier access.
- The internal var $.mobile.startPage is now $.mobile.firstPage, because it's not necessarily the page you started on, but merely a reference to the first "page" in the dom.
- Back buttons are auto-added to every page after the first one you first visit (this includes generated pages, such as those in a multipage document or nested listviews). Keep in mind that a "back" button does not take the place of a standard "home" link, and when building an app with jQuery Mobile, it's good to make use of both (particularly on deep-linked pages). Fixes #908
2011-01-31 17:05:57 -05:00
John Bender
c63d570b60
comment correction in core mobile init test
2011-01-22 22:51:11 -08:00
John Bender
538151491c
added async test calls to guarantee the correct assertion is being fired
2011-01-22 22:41:59 -08:00
John Bender
e30ece11ac
added immediate function to prevent scoping issues in core unit tests
2011-01-22 22:39:32 -08:00
John Bender
b671753039
moved page above core in the makefile, build xml, and manifest under js. Fixes #619
2011-01-22 22:31:16 -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
891c09b32a
added to todo for silent scroll on window load test
2010-11-29 22:32:26 +08:00
John Bender
3df0060827
document ready tests are finished
2010-11-29 22:32:26 +08:00
John Bender
2913104d4f
added tests for silent scoll y position parameter
2010-11-29 22:32:25 +08:00
John Bender
7314fff15f
added silentScroll tests for mobile.core
2010-11-29 22:32:25 +08:00
John Bender
b55e9c6eec
removed core hash tag testing (still evaluating), fixed coretests based on new refactor
2010-11-25 17:10:00 +08:00