Commit Graph

3602 Commits

Author SHA1 Message Date
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
Timmy Willison
812319093a Ensure display: inline-block when animating width/height on inline elements. Fixes #14344. 2013-09-10 15:09:58 -05:00
Timmy Willison
19a0fdfbeb Match ordering in ajax with master. -3 bytes. 2013-09-09 22:54:07 -05:00
Timmy Willison
2f627494f2 Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules). Restore proper support property for effects.
Conflicts:
	src/attributes/classes.js
	src/core.js
	src/manipulation.js
	src/traversing.js
2013-09-09 22:51:11 -05:00
Timmy Willison
49cfcb9f3e Apply consistent ordering in all modules. -219 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend. 2013-09-09 12:22:37 -04:00
Timmy Willison
6bc8059717 All non-var modules should not indent in their AMD wrappers (just for prettier builds). No functionality changes. 2013-09-09 12:07:40 -04:00
Timmy Willison
2063d6c189 Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
Conflicts:
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/traversing.js
2013-09-09 12:04:03 -04:00
Timmy Willison
800b80f2ef Reorder css.js logically
Conflicts:
	src/css.js
2013-09-09 11:52:01 -04:00
Timmy Willison
ee0343dd1b Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
Conflicts:
	src/core.js
2013-09-09 11:47:03 -04:00
Timmy Willison
3c717d2e6a Always return jQuery in modules that can be included separately
Conflicts:
	src/attributes.js
	src/data.js
	src/manipulation.js
2013-09-08 21:30:48 -04:00
Timmy Willison
44596aa8f2 Move parsing methods to their own files (separates manipulation dependency from core)
Conflicts:
	src/core.js
2013-09-08 21:12:58 -04:00
Michał Gołębiowski
f044622bae No ticket. Restore checking individual src/**/*.js files by jsHint. 2013-09-06 20:31:48 +02:00
Michał Gołębiowski
6987220d2b No ticket. Optimize top/left hooks: move the position check up, don't re-check it inside a hook. 2013-09-06 18:29:53 +02:00
Timmy Willison
3ec6af891b Remove test element in css/support 2013-09-06 12:08:41 -04:00
Michał Gołębiowski
badcd1b6f3 Fix #10814. Fix #14084. Make support tests lazy and broken out to components. 2013-09-06 03:40:49 +02:00
Amey Sakhadeo
ceb5b4c9a3 Ref #14313: Optimize 1.x jQuery.merge for size.
(cherry picked from commits c75c9a8ebb f66d53c856)
2013-09-03 02:02:45 -04:00
Richard Gibson
5cd6868365 Fix #14318: Cherry-pick interrupted animation fix from master ea5c22ec12 2013-08-30 12:38:43 -04:00
Timmy Willison
8e6e239256 Pass all tests (and load Sizzle fixture correctly) when loading with AMD
Conflicts:
	src/css.js
2013-08-29 16:25:44 -04:00
Timmy Willison
05d907d1b1 Fix for custom attr handles duck-punching the boolean attr handle 2013-08-28 12:12:37 -04:00
Timmy Willison
6e19d2a094 Make the attr handles a little more readable (+4 bytes) 2013-08-26 23:53:45 -04:00
Timmy Willison
dc0d3b42c9 Fix most of the broken tests in oldIE. Build order issue.
- attr requires val for attaching to the nodeHook as a valHook for buttons
2013-08-26 23:29:33 -04:00
Chris Price
b414efdd8e Fix #14150: revert to ownerDocument.defaultView.getComputedStyle. Close gh-1311. (cherry-picked from 3e3680c2cd) 2013-08-19 18:13:09 +02:00
Jeremy Dunck
7dfe0ad191 Fix #14164: assign className in addClass/removeClass only if changed. Close gh-1331. (cherry-picked from c418b94eb4) 2013-08-19 17:58:00 +02:00
Oleg Gaidarenko
49670c5f48 Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335. 2013-08-16 14:36:08 -04:00
Timmy Willison
2f985ff826 When converting the source to AMD, don't forget to AMD 2013-08-16 12:56:33 -04:00