jrburke
096e90bbfe
Update to relative AMD dependencies, allows proper use of source in an AMD project.
2012-01-24 14:43:24 -08:00
Mat Marquis
806e27d675
Additional meta information (grouping/required).
2012-01-17 14:05:23 -05:00
Mat Marquis
6e8fb254a6
Updated and DRY’d transition/3D-transform support tests for Firefox.
2012-01-13 15:49:21 -05:00
scottjehl
845dc1ef73
use existing elem instead of creating a new one.
2012-01-13 14:46:35 +07:00
Ghislain Seguin
948d39b898
Added dependency on jquery
2012-01-12 21:22:00 -08:00
Mat Marquis
c35e6f2fde
Comment typo, made a TODO about globalizing the testing method added in the previous commit.
2012-01-12 18:56:09 -05:00
Mat Marquis
abfec80413
Fixes a false positive for 3D transform support on Android 2.3 (possibly others).
2012-01-12 18:56:09 -05:00
scottjehl
6d4d0e14e6
code style
2012-01-12 12:50:47 +07:00
Mat Marquis
f7d59da646
Updated 3d transform test to accomodate FF10.
2012-01-11 16:28:08 -05:00
Mat Marquis
0b80c12778
Updated page transition scripting/support test to allow for Firefox.
2012-01-10 12:50:22 +07:00
scottjehl
0cafec13bd
fixed a typo in the query
2012-01-10 12:48:57 +07:00
scottjehl
f80d855847
Added a feature test for css 3d transforms, which will allow us to conditionally apply the flip transition (AKA cartwheel, where unsupported).
2012-01-10 12:48:57 +07:00
Mat Marquis
d7afc8aa78
Added download builder metadata.
2012-01-06 19:31:31 -05:00
Ghislain Seguin
3f05a5e12c
Named the module for testability
2011-12-21 16:41:27 -08:00
Ghislain Seguin
57a1129bfb
Discovered r.js' pragmas use them instead of the hacky solution provided by amd-stripper.js
2011-12-15 18:15:42 -08:00
Ghislain Seguin
cf04068eba
Assume jquery is loaded so don't require it
2011-12-08 10:02:36 -08:00
Ghislain Seguin
2ece69afd5
Merge remote branch 'upstream/master' into amd
2011-12-07 15:45:36 -08:00
Ghislain Seguin
ff25bcc662
Fixed deps
2011-12-07 15:42:08 -08:00
John Bender
c0b857ab5e
fixed closure compiler warning for missing while block
2011-12-06 15:56:28 -08:00
John Bender
3f9bca14a6
Revert "Merge pull request #3172 from eddiemonge/issue_3169.1"
...
This reverts commit 9e58b93cc5 , reversing
changes made to 97bad66016 .
2011-12-06 15:53:06 -08:00
Ghislain Seguin
3d4f524604
Moved $.support.mediaquery to jquery.mobile.media
...
Set dependencies
2011-12-01 17:28:10 -08:00
Ghislain Seguin
63292b805d
AMDized
2011-12-01 17:28:08 -08:00
Eddie Monge
26dc452dc9
Update IE checker code for compiler
2011-11-26 12:21:18 -08:00
Mat Marquis
ff93c76037
Fixes #3041 — Cleans up the support test for Opera Mini and opts it out of fixed toolbar behavior.
2011-11-16 17:13:13 -05:00
Eddie Monge
5535e24c46
Update to add license to root, update individual files to not have license, add license to built and testing files
2011-11-08 15:43:36 -08:00
Eddie Monge
95674eb3d1
Some coding style cleanups
2011-10-17 16:39:05 -07:00
toddparker
ff9720281b
Added another check for orientation change event for Android 2.1
2011-10-04 11:54:25 -07:00
scottjehl
41d4640344
moved the support test for event capture, allowing vmouse to run standalone on jQuery Core.
2011-09-20 17:26:36 -04:00
scottjehl
b645781f4d
implemented native overflow scrolling based on support for -[prefix]-overflow-scrolling: touch. True fixed headers and footers come supported as well.
2011-09-08 12:38:50 -04:00
scottjehl
440be55f2b
changed the name of the overflow support test and class to touchOverflow / touch-overflow
2011-09-08 12:38:50 -04:00
scottjehl
dae560d67f
added support test & html class for overflow-scrolling-touch
2011-09-08 12:38:49 -04:00
John Bender
49cf3af91a
Merge branch 'replacestate-external'
2011-08-25 13:05:54 -07:00
Kin Blas
ab1a52b51d
With the exception of "ms", which we don't support anyways, all vendor prefixed CSS properties are converted into style object properties with a name that begins with an upper case. Note, that webkit duplicates these properties on the style object, such that the property can be referenced with a leading caps, or leading lower-case.
...
This change was necessary at least for the transitions branch because the lookup for the 'transform' property was failing on FireFox.
2011-08-18 16:40:08 -07:00
John Bender
b7d5df786f
whitespace and comment merge conflict resolved
2011-08-17 11:09:05 -07:00
scottjehl
c864dac3b1
added replacestate to the tests, as that's the method we're using
2011-08-14 13:44:40 -04:00
scottjehl
0253e67fbb
fixed an error in the array reference that was causing support tests to not test properties as they should.
2011-08-07 13:19:20 -04:00
Rick Waldron
953f0cdf97
Core Style Conformance updates; jquery.mobile.support.js
2011-08-03 13:19:53 -04:00
scottjehl
a48128f9a3
wrapped in parens for clarity
2011-08-03 12:15:04 -04:00
scottjehl
d42db4d4ee
This change moves the ajax navigation opt-out list (which contains, mainly, browsers that have broken history tracking of hash changes) over to the support.js file, and added a multi-tierd Nokia condition that checks a number of UA conditions to try and pinpoint Nokia + Symbian + Webkit + 7.3-or-older. Big thanks to Bryan and Stephanie at Yiibu for their helpful article on Nokia device detection. That said, we would LOVE to find a non-UA based way to handle this detection. Reluctantly, this seems to do what we need at the moment, while assuming hash history will be improved in any post-7.3 release.
...
Also included in this commit is a Nokia-specific condition that re-appends existing stylesheets to force them to render, as all pre-7.3 devices we tested would not render the CSS if it was referenced before the JavaScript (as we'd recommend doing). There may be a non-JS way to work around this problem, but for now, this seems to do the trick.
2011-08-03 12:15:04 -04:00
scottjehl
b0552d79de
removed some old alpha comments. Versioning covers this sort of thing.
2011-07-15 11:47:32 -04:00
Rick Waldron
ce57eed4f6
jQuery core style guide conformance: jquery.mobile.support.js
2011-06-29 09:36:41 -04:00
scottjehl
76fe9ca3fd
moved previous logic to the init file so it's not overridden by defaults.
2011-05-24 17:39:53 -04:00
scottjehl
7b578f7873
Disabled ajax navigation in BlackBerry 5 and Opera Mini, for a more usable overall experience (and in some cases, due to insufficient native history implementations that don't track hash changes). Fixes #1644 and Fixes #1276
2011-05-24 17:08:29 -04:00
Steven Black
f8516d4dbe
jquery.mobile.support.js: Whitespace changes only. Bring code up to jQuery coding standards in anticipation of adding Opera Mini feature detection. Passes jsHint except for the James Padolsey/ jdalton non-UA-based IE version check, which is OK. All tests pass.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-11 20:47:37 -04:00
scottjehl
af7451d5ff
switched to boolean check and removed the second value. Now this is only true in old webos, where it should be.
2011-04-14 18:10:22 -04:00
Kin Blas
9a431c89a5
Added $.support.eventCapture to detect support for listening for the event capture phase. We need this to disable vmouse touch support for WP7. We may be able to work around the lack of capture support in the near future, but until then, we fallback to just supporting mouse events.
2011-03-14 12:39:03 -07:00
scottjehl
d3a170db09
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.
2011-03-14 00:20:25 -04:00
Kin Blas
02c9264f0d
Fix for issue 613 - Jquery Mobile ignores original 'base' tag defined in HTML
...
- Fixed baseTagTest() in jquery.mobile.support.js, so that it uses any pre-existing base tag for testing. This fixes the bug on Webkit (Safari) where the relative paths for links were being resolved/expressed with the document path instead of the original base path.
- Modified the base code in jquery.mobile.navigation.js so that it uses the initial path of a pre-existing base tag, instead of always using the document path. This means that a document with a URL such as:
http://foo.com/a/b/c#docs/pages/index.html
That uses a base tag like:
<base href="http://foo.com/bar/ ">
Will resolve properly:
http://foo.com/bar/docs/pages/index.html
so the mobile page gets loaded properly.
- Reduced the path.get() function down to a couple of regexp replace() calls.
2011-01-18 09:18:22 -08:00
scottjehl
9420083a7b
quick update to set the base.href back to the starting path, just in case, as some browsers may retain the base href after the element is removed from the DOM. Explained better here: b2add677f0
2010-12-11 13:50:07 -05:00
scottjehl
3cb0e3c2d0
fixed typo in propExists. thx @johnbender
2010-11-22 15:48:14 -05:00