Commit Graph

55 Commits

Author SHA1 Message Date
Timmy Willison
f9ad13c9ec 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.
2013-12-06 16:04:35 -05:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Michał Gołębiowski
d0fadbba9f Remove workarounds for the uglify task mishandling banners when used with source maps.
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:06 +01:00
Oleg
85d4c0133b Check Gruntfile and tasks for code style 2013-11-08 16:03:51 +01:00
Sindre Sorhus
abfa210adf Add load-grunt-tasks package dependency
Close gh-1405
2013-11-07 21:38:38 +01:00
Oleg
5ce0b34257 Fix #12757 - use jscs to check the style guide
Close gh-1396
2013-11-07 20:58:27 +01:00
Timmy Willison
209f0a8a8b Only set uglify options if not already the default 2013-10-15 17:59:58 -04:00
Timo Tijhof
3ca883f863 No ticket: Clean up uglifyjs compress options. Close gh-1382.
(cherry picked from commit e15627022f)
2013-10-15 16:49:47 -04:00
Timmy Willison
6095be1260 Preparations for npm/bower publishing 2013-10-15 16:14:35 -04:00
Timmy Willison
fc4ff9315d Add bower install script and release scripts to jshint and pass lint 2013-10-07 18:24:02 -04:00
Michał Gołębiowski
923bfc80db No ticket. Simplify the post-uglify task. 2013-10-02 00:39:49 +02:00
Michał Gołębiowski
1a25f21dc3 No ticket. Restore checking individual src/**/*.js files by jsHint. 2013-09-06 20:31:18 +02:00
Michał Gołębiowski
bbbdd94725 Fix #10814. Make support tests lazy and broken out to components. 2013-09-06 03:38:22 +02:00
Michał Gołębiowski
dfaee326e6 Fix #13983. Switch to //# for sourcemap directives. 2013-09-05 18:23:56 +02:00
Timmy Willison
31f0912267 Custom builds: Remove _evalUrl when excluding ajax 2013-08-16 10:11:22 -04:00
Oleg Gaidarenko
df67c1ab09 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
2013-08-16 09:48:00 -04:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Timmy Willison
07b5f126e2 Lint JSON manifests during development 2013-07-19 09:54:15 -04:00
Michał Gołębiowski
c33108cad1 Update devDependencies, adjust .jshintrc to jsHint 2.x, use .jshintignore. Close gh-1283. 2013-07-11 12:52:48 -04:00
Timmy Willison
b13d8229ae Include Sizzle and Qunit with bower. Fixes #14118. 2013-07-10 12:00:26 -04:00
Timmy Willison
1f67d07c60 Support CommonJS environments by accentuating the need for a window with a document. Fixes #13768. 2013-07-04 14:00:26 -04:00
Dave Methvin
6e630fbbb1 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.
2013-07-02 16:58:20 -04:00
Dave Methvin
d53ddc90c1 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.
2013-07-02 09:48:40 -04:00
Jörn Zaefferer
8643ac77fb Build: Update testswarm task to node-testswarm 1.x API 2013-06-05 15:58:33 +02:00
Michał Gołębiowski
997da31121 Fix #13793. Correct source map generation bugs. Close gh-1275. 2013-05-23 21:08:57 +02:00
Dave Methvin
8ee67bde11 Add release time to header on uncompressed file.
(cherry picked from commit 71f33cc7d9)
2013-05-11 15:58:45 -04:00
Kyle Robinson Young
b5580a9898 Use grunt option with grunt.util.spawn, close gh-1255. 2013-05-09 15:14:46 -04:00
Richard Gibson
9d16fe6283 Fix #13776: Add banner before generating source map. Close gh-1246. 2013-04-18 13:35:37 -04:00
Oleg
aae7abfeb6 Change uglify compression options, close gh-1245. 2013-04-18 12:38:00 -04:00
Michał Gołębiowski
8576e24bfe Tell uglifyjs to not mangle undefined; saves 44 bytes. Fixes #13759. Close gh-1239. 2013-04-15 18:46:14 +02:00
Timmy Willison
ac9cad19fa Add onevar to jshintrc, but remove the option for linting the concatenated file 2013-04-09 12:48:34 -04:00
Timmy Willison
0fa52c11cb Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755. 2013-04-09 11:59:31 -04:00
Dave Methvin
5031c9db4b Fix #13741. Make wrap/unwrap methods optional. Close gh-1222. 2013-04-06 16:00:58 -04:00
Richard Gibson
5d1dfe7474 Fix #13539: Utilize Sizzle hooks. Close gh-1215.
(cherry picked from commit 4ef516903e)
2013-04-05 00:37:36 -04:00
Michał Gołębiowski
ba16ba2efc Update grunt-contrib-jshint to 0.3.0, part 2, close gh-1203. 2013-04-04 12:27:21 -04:00
Richard Gibson
5b59a63b2b No ticket: fix build date formatting 2013-04-01 13:02:57 -04:00
Tom Fuertes
1f530e2867 No ticker: grunt_compare_size options. Close gh-1210. 2013-03-26 20:50:30 -04:00
Timmy Willison
8f4572406c Build selector.js from built sizzle. Update Sizzle. 2013-03-19 15:56:20 -04:00
Richard Gibson
91d57647e9 No ticket: compare_size returns!
(remember to `npm install`)
2013-03-11 10:09:10 -04:00
Richard Gibson
1083f82d1e Fix #13434: native-API selector module
What's out:
* 6 KB
* attribute not equal selector
* positional selectors (:first; :eq(n); :odd; etc.)
* type selectors (:input; :checkbox; :button; etc.)
* state-based selectors (:animated; :visible; :hidden; etc.)
* :has(selector)
* custom selectors
* leading combinators (e.g., $collection.find("> *"))
* reliable functionality on XML fragments
* requiring all parts of a selector to match elements under context (e.g., $div.find("div > *") now matches children of $div)
* matching against non-elements
* reliable sorting of disconnected nodes
2013-02-27 22:45:55 -05:00
Dave Methvin
6f7b6915bf Fix #12656. Make event shorthands excludable. 2013-01-27 09:07:00 -05:00
Dave Methvin
47a6f52dc9 Fix build until next grunt rc, disable compare_size. 2013-01-26 15:05:42 -05:00
Richard Gibson
487b703521 Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.
(cherry picked from commit ac93559eb9)
2013-01-25 10:09:27 -05:00
Dave Methvin
fa71737fb4 Leave out the web site, you know where to find us. 2013-01-11 16:59:24 -05:00
Dave Methvin
c0c1bdde60 Update copyrights used in file headers. 2013-01-11 16:08:09 -05:00
Dave Methvin
2ff2d1d3dc Fix #12886. Fix map file reference in .min.js file.
Cherry picked from e348b40608 .
2013-01-10 10:50:25 -05:00
Dave Methvin
d2a51f0e44 Allow build to continue with --force on bad line endings. 2013-01-06 10:03:59 -05:00
Dave Methvin
b760d798d3 Fix #12471. Use consistent line endings in jquery.js 2013-01-06 09:55:51 -05:00
Rick Waldron
df7431b7dd Set testswarm browsersets to "popular-no-old-ie"
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-31 13:10:05 -05:00
Dave Methvin
4de4be42f6 Put .min.js file at the end so compare_size will work. 2012-12-23 14:45:49 -05:00