Commit Graph

3626 Commits

Author SHA1 Message Date
Dave Methvin
b876352d97 Offset: Fix comment typo, thanks @AurelioDeRosa 2013-12-18 20:54:02 -05:00
Timmy Willison
c2e0dbdaa5 Manage bower dependencies with grunt-bowercopy
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.

When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.

Fixes #14615.
Closes gh-1452.

Conflicts:
	bower.json
	test/index.html
2013-12-06 16:14:27 -05:00
Michał Gołębiowski
91586997e0 Change window to global in the most outer IIFE parameters. (cherry-picked from dc649a33e0)
In the most outer IIFE it’s not yet known if the global is window or not.
Using the window variable to denote the global was misleading in that case,
especially that the code didn’t make such assumption, requiring to provide
a Web-like window separately. Renaming window to global clears the confusion.
2013-11-17 01:08:53 +01:00
Timmy Willison
54419cb5ad Fixes #14549. Execute the factory immediately when CommonJS is used in the browser. 2013-11-15 17:18:47 -05:00
hongymagic
27b22f4ef5 Fix #14503: Cast to string before setting XHR header. Close gh-1427. 2013-11-14 20:32:56 -05:00
Dave Methvin
5f325b1bee Ref #14180, let focusin/out work on non-element targets.
(cherry picked from commit c2aca17d45)

Conflicts:
	src/event.js
2013-11-14 16:40:22 -05:00
Dave Methvin
9ca87af44c Fix #14475. Use IE11-friendly detect for proper XHR object.
We don't seem to have test cases for local file access.
2013-11-14 16:10:54 -05:00
njhamann
c58a6435ef Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340.
(cherry picked from commit eb1a2afc9fb1d990d10358aab0e17bc0ce1d1db3)
2013-11-13 22:55:12 -05:00
Dave Methvin
97d53838e0 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Richard Gibson
60a6178131 Fix #14492: More correct jQuery.parseJSON. Close gh-1419. 2013-11-12 00:07:28 -05:00
Oleg
ff951314e3 Remove old try...catch for old FF 2013-11-08 22:32:35 +01:00
Richard Gibson
c6de821070 Ref 705216d: Synchronize ajax/xhr.js with master 2013-11-08 10:13:32 -05:00
Oleg
22120cea66 Fix some code style inconsistencies 2013-11-07 22:09:33 +01:00
Oleg
9e3d0f3109 Fix #14422 and add more thorough check for CSP violations
Close gh-1413
2013-11-07 22:08:50 +01:00
Richard Gibson
126d596b56 Fix #14074: element id="nodeName". Close gh-1389. 2013-11-07 11:37:52 -05:00
Corey Frang
075763b71a Fix #14101: $().data() should be undefined, not null
- Backported 30eee925db for 1.x
2013-11-06 11:07:52 -05:00
Marian Sollmann
3c968ce65d Fix #14190: Remove unnecessary assignment in .closest. Close gh-1411.
(cherry picked from commit 346b031af9e3b315ef351a9cc7fee56f930cf346)

Conflicts:

	src/traversing.js
2013-11-06 10:27:48 -05:00
Richard Gibson
90d9c4632c No ticket: Update style per gh-1418 comments 2013-11-04 12:58:13 -05:00
Richard Gibson
45a45599af Ref 705216dc: Synchronize ajax/xhr.js with master. Close gh-1418. 2013-11-04 09:42:26 -05:00
Richard Gibson
d8576139c1 Fix #14459: Use jQuery.parseJSON instead of JSON.parse
(cherry picked from commit ced9d155f0)
2013-10-28 11:39:43 -04:00
Dave Methvin
469150a27e Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."
This reverts commit bba8366af4.

Because cross-frame focus sucks.
2013-10-22 22:47:34 -04:00
Dave Methvin
bba8366af4 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2)
Manually edited for conflicts.
2013-10-22 21:48:50 -04:00
Ronny Springer
aa70819598 Ref 2263134b: Better identify potential JSON. Close gh-1401.
(cherry picked from commit 083edd60a6)

Conflicts:

	src/data.js
2013-10-16 08:50:13 -04:00
Lihan Li
a5063ee2a1 Fix #14394: Changing style !important in webkit. Close gh-1385.
(cherry picked from commit 24e587929f)

Conflicts:

	src/css.js
2013-10-15 16:38:38 -04:00
Richard Gibson
024317f03b No ticket: Small curCSS size optimizations
(cherry picked from commit a339096d6a)

Conflicts:

	src/css/curCSS.js
2013-10-15 15:19:45 -04:00
George Kats
32d61d75e5 Fix #14432: Always return string from .css("z-index"). Close gh-1395.
(cherry picked from commit 5ce4b06c28)

Conflicts:

	src/css/curCSS.js
2013-10-15 13:58:06 -04:00
Timmy Willison
62900a9edb Fixes #14450. Remove CommonJS+AMD syntax.
- To keep file size unaffected, an extra pragma was added to build.js to remove certain lines when building with special comments.

Conflicts:
	src/core.js
	src/css.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
2013-10-15 11:59:16 -04:00
Dave Methvin
b7da3b0043 Fix #13993. Save result of native inline handlers. Close gh-1368.
(cherry picked from commit 3bcd04f528)
2013-10-06 17:58:28 -04:00
Richard Gibson
b31bd4c05d No ticket: Compress core and data modules 2013-09-28 12:02:44 -04:00
Michał Gołębiowski
9bf6aaf4ad No ticket. Get rid of comma expression in curCSS. 2013-09-24 14:11:24 +02:00
Anthony Ryan
4b378280d3 No ticket: Fix XHTML regression. Close gh-1376. 2013-09-23 10:26:20 -04:00
Timo Tijhof
020414ce51 core: Fix cut off comment in jQuery.map from c72371f714. Close gh-1379.
(cherry picked from commit 2aa2957d21)
2013-09-23 10:11:11 -04:00
Dave Methvin
75a0b4a73f Fix #14290. Don't throw if text node is appended to table. Close gh-1371.
(cherry picked from commit ec3ac9a247)
2013-09-19 11:42:28 -04:00
Dave Methvin
60004e68f8 Fix #14282. Don't fondle getPreventDefault if preventDefault exists. Close gh-1365.
(cherry picked from commit 4671ef15c2)

Conflicts:
	src/event.js
2013-09-19 10:19:13 -04:00
Oleg
fd2964237f Fix #12723 and simplification and optmization of defaultDisplay helper
(cherry picked from commit a25343001e)
2013-09-17 16:16:47 +04:00
Oleg
303e41d996 Simplify replaceWith method. Closes gh-1276
(cherry picked from commit 642e9a4557)
2013-09-17 14:21:34 +04:00
Timmy Willison
53aa2e0c8b Use charAt instead of string indexing for oldIE's sake. Fixes #14356. 2013-09-12 15:49:53 -05:00
Richard Gibson
0bc0a69026 Ref #14313: NaN detection. Close gh-1352. 2013-09-12 16:42:18 -04:00
Timmy Willison
e7bdccacab Fix failing support test in IE6/7 2013-09-11 17:58:38 -05:00
Timmy Willison
1a9f8d9bb1 Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE) 2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85 Set the input type for firefox. Fix a support test. 2013-09-11 15:35:50 -05:00
Timmy Willison
03fdc70a2e Correct the checkClone support test for Safari 5.1 and mobile webkits
Conflicts:
	src/manipulation/support.js
2013-09-11 14:55:15 -05:00
Timmy Willison
7a6c635cfa Fix support test for checkClone. Fixes Safari 5.1 manip failures.
Conflicts:
	src/manipulation.js
2013-09-11 14:31:06 -05:00
Timmy Willison
c13c5d7d24 Fix context 2013-09-11 08:46:19 -05:00
Timmy Willison
577df98524 The cssHook from addGetHookIf wasn't actually getting added
Conflicts:
	src/css.js
2013-09-11 08:44:26 -05:00
Timmy Willison
b812c5bea8 Modules can assume the presence of their parents
Conflicts:
	src/css/curCSS.js
2013-09-10 20:24:51 -05:00
Timmy Willison
203f63cf12 Remove unnecessary file from master cherry-pick 2013-09-10 20:15:38 -05:00
Timmy Willison
5bd074dd46 Remove offset dependency from css. Move curCSS and getStyles to their own module. 2013-09-10 20:08:54 -05:00
Michał Gołębiowski
f7111fb0e5 No ticket. Abstract conditional hook definition. 2013-09-11 02:51:48 +02:00
Timmy Willison
5fbf4a4fe3 Map Sizzle to a path with config to allow users to put Sizzle wherever they want 2013-09-10 18:48:53 -05:00