Commit Graph

57 Commits

Author SHA1 Message Date
Timmy Willison
a247bd09ed Sizzle: update committed dependencies 2014-01-13 16:39:09 -05:00
Oleg
f1af3c23f9 Tests: Fix sinon timers for oldIE 2014-01-13 22:22:51 +04:00
Dave Methvin
f4a3587a65 Tests: Straighten out sinon dependencies
* Cherry-pick took the wrong lines for a couple of things.
* Update and commit dependencies after `grunt bower`
2014-01-10 10:24:57 -05:00
Dave Methvin
551c12c242 Build: Happy New Year! Thanks @marlonlandaverde
(cherry picked from commit 3118f58c46)

Closes gh-1477
2014-01-09 21:07:45 -05:00
Timmy Willison
bf6c95a81e Gruntfile: fix watch task 2013-12-20 18:42:21 -05:00
Michał Gołębiowski
c4e88083d2 Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
grunt-contrib-jshint 0.7.1 allows the jshintrc option to be set to true to have
it read the appropriate config file based on the file being checked. The only
place where we can’t use it is the check for dist/jquery.js that has the onevar
option removed.

(cherry-picked from 7deee6af72)

Fixes #14504
2013-12-18 15:25:11 +01: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
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Michał Gołębiowski
762459aa0d Grunt: put .sizecache.json in build/, not dist/. (see 6095be1260) 2013-11-10 22:34:46 +01:00
Michał Gołębiowski
7c38b0686d Remove workarounds for the uglify task mishandling banners when used with source maps. (cherry-picked from d0fadbba9f)
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:40 +01:00
Oleg
0b987dbaf9 Check Gruntfile and tasks for code style
Cherry picked from 85d4c0133b commit
2013-11-08 16:07:45 +01:00
Sindre Sorhus
7e5c2cb6e8 Add load-grunt-tasks package dependency
Cherry picked from abfa210adf commit
2013-11-07 22:09:33 +01:00
Oleg
bcae427015 Fix #12757 - use jscs to check the style guide
Cherry picked from ab63e568f50b5b9823490eda9c184e48cc6440c4 commit
2013-11-07 22:09:32 +01:00
Timmy Willison
08b6271b6d Only set uglify options if not already the default 2013-10-15 18:00:41 -04:00
Timo Tijhof
e15627022f No ticket: Clean up uglifyjs compress options. Close gh-1382. 2013-10-15 16:48:33 -04:00
Timmy Willison
e239873b27 Add bower install script and release scripts to jshint and pass lint 2013-10-07 18:24:14 -04:00
Michał Gołębiowski
11f386fe89 No ticket. Simplify the post-uglify task. (cherry-picked from 923bfc80db) 2013-10-02 00:40:29 +02: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
9035cab8c8 Fix #13983. Switch to //# for sourcemap directives. (cherry-picked from dfaee326e6) 2013-09-05 18:24:13 +02: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
Timmy Willison
217cbb7109 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
	Gruntfile.js
	README.md
	src/ajax.js
	src/ajax/xhr.js
	src/attributes.js
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/selector-native.js
	src/traversing.js
	test/unit/core.js
	test/unit/data.js
2013-08-15 15:49:49 -04:00
Timmy Willison
caea5b1011 Lint JSON manifests during development 2013-07-19 09:55:26 -04:00
Michał Gołębiowski
4b7a0d4e0a Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283.
Conflicts:
	src/.jshintrc
	test/.jshintrc
2013-07-11 12:59:44 -04:00
Timmy Willison
40d4881373 Include Sizzle and Qunit with bower. Fixes #14118. 2013-07-10 12:01:20 -04:00
Timmy Willison
acdcc6b6a2 Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768. 2013-07-04 14:05:30 -04:00
Dave Methvin
5f2b5861b0 Revert "Fix #13983. Switch to //# for sourcemaps."
Per the discussion here:
https://code.google.com/p/chromium/issues/detail?id=256636

Thanks to the Chrome team for the quick response!

This reverts commit d53ddc90c1.
(cherry picked from commit 6e630fbbb1)
2013-07-02 17:00:18 -04:00
Dave Methvin
cfa00353e6 Fix #13983. Switch to //# for sourcemaps.
Normally we'd avoid doing this on a patch release, but Chrome Canary is
spewing deprecation warnings already and that's generating bug tickets.
(cherry picked from commit d53ddc90c1)
2013-07-02 09:58:16 -04:00
Jörn Zaefferer
f22b0745ad Build: Update testswarm task to node-testswarm 1.x API 2013-06-05 16:07:45 +02:00
Michał Gołębiowski
ce1a8295d7 Fix #13793. Correct source map generation bugs. Close gh-1275. (cherry-picked from commit 997da31121) 2013-05-23 21:10:59 +02:00
Dave Methvin
71f33cc7d9 Add release time to header on uncompressed file. 2013-05-11 15:54:52 -04:00
Kyle Robinson Young
a6d35a313e Use grunt option with grunt.util.spawn, close gh-1255.
(cherry picked from commit b5580a9898)
2013-05-09 15:16:54 -04:00
Richard Gibson
3c7dd23d1f Fix #13776: Add banner before generating source map. Close gh-1246.
(cherry picked from commit 9d16fe6283)
2013-04-18 13:48:51 -04:00
Michał Gołębiowski
0db70aa1fa Fix #13741. Make wrap/unwrap methods optional; close gh-1236.
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00
Michał Gołębiowski
a19c831b38 Correct spacing 2013-04-15 19:13:08 +02:00
Timmy Willison
738b8f8431 Add onevar to jshintrc, but remove the option for linting the concatenated file 2013-04-09 12:48:50 -04:00
Timmy Willison
d2435ead36 Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755.
Conflicts:
	src/.jshintrc
	src/data.js
	test/unit/attributes.js
	test/unit/core.js
	test/unit/data.js
	test/unit/event.js
	test/unit/manipulation.js
	test/unit/queue.js
	test/unit/traversing.js
	test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Richard Gibson
4ef516903e Fix #13539: Utilize Sizzle hooks. Close gh-1215. 2013-04-04 23:04:05 -04:00
Richard Gibson
937b2b194d No ticket: fix build date formatting
(cherry picked from commit 5b59a63b2b)
2013-04-01 13:03:14 -04:00
Tom Fuertes
e3a802cbf7 No ticker: grunt_compare_size options. Close gh-1210.
(cherry picked from commit 1f530e2867)
2013-03-26 20:54:07 -04:00
Dave Methvin
131de8c80e No ticket: Grunt changes from 2.0 selector-native
(cherry picked from commits 1083f82d1e 8be9cd1ce7 054c6946d4)
2013-03-25 14:45:45 -04:00
Timmy Willison
87d91738b9 Build selector.js from built sizzle 2013-03-19 15:31:53 -04:00
Richard Gibson
832ecdb7cb No ticket: compare_size returns!
(remember to `npm install`)
2013-03-11 10:07:22 -04:00
Richard Gibson
164d40295d Fix #13463: Update copyright 2013-02-17 09:30:21 -05:00
Oleg
d79bf3517e Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.
Change uglify-js options for compressor
Change variables initialization sequence for some declarations
2013-01-31 10:22:12 -05:00
Dave Methvin
24e7624554 Fix #12656. Make event shorthands excludable. 2013-01-27 00:35:42 -05:00
Dave Methvin
74aa3eb79c Fix build until next grunt rc, disable compare_size. 2013-01-26 13:38:04 -05:00
Richard Gibson
ac93559eb9 Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143. 2013-01-25 10:03:53 -05:00
Dave Methvin
7be47fba08 Update copyrights used in file headers. 2013-01-11 16:17:22 -05:00
Dave Methvin
e348b40608 Fix map file reference in .min.js file. 2013-01-10 10:35:50 -05:00