Commit Graph

5286 Commits

Author SHA1 Message Date
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
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
2af2e74e27 Update Sizzle to 1.10.7
Conflicts:
	bower.json
2013-08-27 15:06:03 -04:00
Timmy Willison
0f2f6847ff Explicitly set bower folder location 2013-08-27 14:22:28 -04:00
Timmy Willison
9f433d9fec Use window.QUnit to detect the top window when loading with AMD 2013-08-27 00:31:14 -04:00
Timmy Willison
b718a169b5 Update Sizzle: minor change to a test (oldIE must set defaultChecked on creation) 2013-08-27 00:16:14 -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
Richard Gibson
2b6a7b1caf No ticket: improve line-height animation test robustness 2013-08-26 16:36:55 -04:00
Michał Gołębiowski
0f03378bdc No ticket. Correct a support comment for the order test. (cherry-picked from 2ac1cd91db) 2013-08-20 15:54:27 +02:00
Oleg
ef5693f7be Correct QUnit check, this might fix swarm failures
Conflicts:
	test/jquery.js
2013-08-19 15:39:37 -04:00
Timmy Willison
04f12635c0 Fix tests for testswarm 2013-08-19 15:01:41 -04:00
Michał Gołębiowski
f5f36dbd89 No ticket. Correct a support comment. (cherry-picked from f92a446ee8) 2013-08-19 20:16:46 +02:00
Michał Gołębiowski
78a80c37a7 Remove redundant prefixes from the CSS order test. (cherry-picked from e3584179fe) 2013-08-19 19:54:07 +02:00
Daniel Herman
bc2b13915c No ticket: add assertions for jQuery.when( array ). Close gh-1312. (cherry-picked from 584a4af9c8) 2013-08-19 18:26:57 +02: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
ca4a007524 Minor build change: remove trailing tabs 2013-08-16 14:33:42 -04:00
Timmy Willison
2f985ff826 When converting the source to AMD, don't forget to AMD 2013-08-16 12:56:33 -04:00
Timmy Willison
993418e9e9 Custom builds: Fix source folder location now that build.js is in the tasks folder 2013-08-16 10:13:45 -04:00
Timmy Willison
4d9c62a95c Custom builds: Remove _evalUrl when excluding ajax 2013-08-16 10:13:39 -04:00
Oleg Gaidarenko
213eaad880 Move jQuery specific tasks to independent files. Close gh-1334.
Also:
	* Confirm build task to the style guide
	* Use grunt API to load jQuery specific tasks
	* Add "use strict"; statements

Conflicts:
	Gruntfile.js
	build/tasks/build.js
2013-08-16 10:04:31 -04:00