Commit Graph

5310 Commits

Author SHA1 Message Date
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
Timmy Willison
c6b4230d5c Adjust prefilter test to error on string indexing in oldIE 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
Richard Gibson
3a552cdfa7 Fix #14351: Update Sizzle
(cherry picked from commit 1d57ffe5ff)
2013-09-12 16:39:09 -04:00
Jörn Zaefferer
292b671a65 Travis: Also install bower 2013-09-12 18:39:25 +02:00
Jörn Zaefferer
f1333ff449 Add Travis CI config for PR testing 2013-09-12 18:39:15 +02:00
Amey Sakhadeo
b61a64224b Add unit tests for jQuery.grep. Close gh-1345. 2013-09-12 11:23:21 -05: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
Michał Gołębiowski
baa8dff023 Restore support for Firefox < 23, Chrome < 28 and Safari 5.1. 2013-09-11 03:36:18 +02: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
89ddf1040a Unignore license in bower. Ignore other unnecessary files. 2013-09-09 23:26:32 -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
6c57339112 Don't keep semicolons if the require call is not a var declaration 2013-09-09 12:32:13 -04: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
fb599f6315 Update r.js (running latest master until new r.js is published to NPM) 2013-09-09 11:52:12 -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
a289beb688 Restore optIn behavior for builds
Conflicts:
	build/tasks/build.js
2013-09-08 22:27:40 -04:00
Timmy Willison
a8627a9240 Revert "Keep the build for bower"
This reverts commit c9858a4351.
2013-09-08 22:27:20 -04:00
Timmy Willison
c9858a4351 Keep the build for bower 2013-09-08 21:53:05 -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
48e13e9a5f No ticket. Update AUTHORS.txt. 2013-09-07 03:08:20 +02:00
Michał Gołębiowski
ac0e7a1ba7 No ticket. Restore support for Safari 5.1 in test/unit/support.js for now. (cherry-picked from badcd1b6f3) 2013-09-07 02:31:04 +02:00
Timmy Willison
be1e4eee60 Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
Conflicts:
	test/data/testinit.js
	test/data/testrunner.js
2013-09-06 17:23:45 -04:00
Timmy Willison
d14904d083 Move test loader to testinit.js. Fix race condition with dependency loading. 2013-09-06 17:23:45 -04:00
Timmy Willison
b99972de58 Use requirejs to load the testswarm inject script 2013-09-06 17:23:45 -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
Michał Gołębiowski
9035cab8c8 Fix #13983. Switch to //# for sourcemap directives. (cherry-picked from dfaee326e6) 2013-09-05 18:24:13 +02:00
Michał Gołębiowski
e4cfe8242c No ticket. Update packages, make the devDependencies list alphabetic. (cherry-picked from 3f3a6c5ff5e6f1565ff4ad672ad44f71ad765f29) 2013-09-05 18:19:04 +02:00
Richard Gibson
6a6604b785 No ticket: Hide the testing-support jQuery from tests
(cherry picked from commit 0c18520923)

Conflicts:

	test/data/testrunner.js
2013-09-03 11:13:20 -04: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