Commit Graph

65 Commits

Author SHA1 Message Date
Timmy Willison
97c803acfb Ajax: move ajax event aliases to their own file
Fixes #15126
2014-06-02 12:39:11 -04:00
Timmy Willison
b80700c75f Build: run jshint and jscs on release scripts 2014-05-23 13:01:03 -04:00
Oleg Gaidarenko
1514dca501 Build: Remove json check for jscs config 2014-04-23 20:02:06 +04:00
Michał Gołębiowski
d0131da70e Build: Remove Sizzle from run names passed to the testswarm task 2014-04-15 16:38:23 +02:00
Oleg Gaidarenko
9d79b99874 Build: Add lint task 2014-04-15 17:45:59 +04:00
Oleg Gaidarenko
3dee2983ab Build: Use jscs to check test helpers
Also fix issues found by jscs
2014-04-15 17:45:59 +04:00
Timmy Willison
710d236ad1 Sizzle: update committed dependencies 2014-01-13 16:37:42 -05:00
Dave Methvin
3118f58c46 Build: Happy New Year! Thanks @marlonlandaverde 2014-01-09 20:51:21 -05:00
Timmy Willison
281808f61d Gruntfile: fix watch task 2013-12-20 18:38:57 -05:00
Michał Gołębiowski
7deee6af72 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.

Fixes #14504
2013-12-18 15:24:29 +01:00
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