aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
Commit message (Collapse)AuthorAgeFilesLines
* Build: Drop testing on jsdom with Node 0.10 & 0.12Michał Gołębiowski2016-02-101-11/+3
| | | | Fixes gh-2841
* Build: Move the stripJSONComments variable to the function that uses itMichał Gołębiowski2016-02-101-2/+2
|
* Build: Stop removing the JSHint onevar option, it's no longer thereMichał Gołębiowski2016-02-091-4/+0
|
* Build: run linters on git-commitJha Naman2016-01-291-0/+2
| | | | | Fixes gh-2577 Closes gh-2881
* Build: Update npm deps, fix Sinon npmcopy configMichał Gołębiowski2016-01-271-1/+1
| | | | | | | | | | | | All deps were updated except: * jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom; we need to re-do them properly first * qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests, making the fail randomly Those two packages will be updated once issues related to them get resolved. Fixes gh-2877
* Build: enable JSCS for test/unit/support.js, fix styling issuesMichał Gołębiowski2016-01-271-0/+1
|
* Build: Encode non-ASCII as \uXXXXTimmy Willison2016-01-111-0/+1
|
* Release: push a custom slim build to the CDNTimmy Willison2015-11-161-2/+8
| | | | | Fixes gh-2653 Close gh-2711
* Build: Add "deprecated" to the Testswarm module listDave Methvin2015-10-201-0/+1
| | | | | | Ref #1740 Yeah.
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-181-0/+1
| | | | | | | | Unit test changes some uses of .show() and .hide() to .css( "display", ... ), there was already an implicit assumption in several of the existing tests. Fixes gh-2193 Close gh-2648
* Tests: Add simple tests for Android 2.3Michał Gołębiowski2015-09-081-0/+8
| | | | | | Fixes gh-2505 Closes gh-2509 Refs gh-2483
* Build: Don't install jsdom 3 on Node.js 0.10 & 0.12 by defaultMichał Gołębiowski2015-09-081-3/+19
| | | | | | | | | | | | | | | | | | | | | jsdom 3 requires Python & Visual Studio on Windows which is a significant barrier to contributors. Newer jsdom versions don't require pre-compiling but work only on io.js. This commit installs the new jsdom everywhere (it does install in old Node.js, it just won't work) and executes Node-related tests only on newer Nodes or if a working jsdom version is installed. The latter can be achieved by running the `old_jsdom` task. Node.js is merging with io.js soon so this will become a smaller problem over time. One drawback is our Jenkins setup runs on Node 0.10 so it won't be running Node tests anymore. We have Travis set up on io.js, though so all PRs have those tests run. When the new LTS Node.js arrives (as it soon merges with io.js) we should update our Jenkins infrastructure so that it runs on this new version. Fixes gh-2519 Closes gh-2526
* Effects: Finish should call progressThomas Tortorini2015-09-081-0/+5
| | | | | Fixes gh-2283 Closes gh-2292
* Build: put back "lint" command to the "dev" listOleg Gaidarenko2015-09-081-1/+1
| | | | | | Also fix lint error in `data` module. It seems this command was removed from the list during merge
* Build: correct jscs pathsOleg Gaidarenko2015-09-071-3/+2
|
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-4/+10
| | | | Fixes gh-2056
* Build: Add a comment explaining why the es3 option is neededMichał Gołębiowski2015-08-031-2/+6
| | | | | | | | | | It might not be obvious to everyone that IE 9 & Android 4.0 are not ES5-compliant browsers (by a large margin) so it's better to add a support comment. This requires slight changes in parsing the config file as it's not a pure JSON anymore. JSHint understands such files without problems. Closes gh-2520
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-261-2/+3
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-261-2/+3
|
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-131-0/+12
| | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } Fixes gh-1693
* Build: remove bower.json lint targetOleg Gaidarenko2015-06-111-4/+0
| | | | Ref 26eca143c2dd857b9e3d1c446a467fed16e903d2
* Core: Test all factory use cases from intro.jsMichał Gołębiowski2015-04-271-2/+2
| | | | | | | | | | | | | | | | | There is a lot of logic in intro.js; now we test four cases: 1. (implicitly, via QUnit tests) A real browser with window being the global 2. Browserify where there are both global & window variables. 3. Node with jsdom where window is passed manually to the jQuery factory. 4. Pure Node with incorrect window passed; jQuery should throw then. Previously the second & fourth case was not tested and the third was tested in a way that interfered with the main test environment. We now also test if in the Browserify case we're not creating a jQuery global by default. Fixes gh-2181 Closes gh-2234
* Deferred: Backwards-compatible standards interoperabilityRichard Gibson2015-03-201-1/+3
| | | | | Fixes gh-1722 Closes gh-1996
* Release: remove sourcemap comment from all copies of minified fileTimmy Willison2015-01-301-1/+1
| | | | Fixes gh-1707
* Build: Rearrange grunt/npm tasks into a build/dist/test patternRichard Gibson2015-01-111-19/+7
| | | | | Ref 76df9e4e389d80bff410a9e5f08b848de1d21a2f Closes gh-1980
* Build: Remove dates from copyright noticeAnne-Gaelle Colom2015-01-031-2/+1
| | | | Closes gh-1983
* Build: Don't assume the browser environment; smoke test on Node w/ jsdomMichał Gołębiowski2014-12-261-1/+16
| | | | | Fixes gh-1950 Closes gh-1949
* Sizzle: update to 2.1.1Timmy Willison2014-12-151-1/+1
|
* Build: update source map options for the new grunt jshintTimmy Willison2014-07-171-2/+2
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-7/+25
|
* Build: drop bower; use npm for front-end depsTimmy Willison2014-07-171-6/+4
| | | | | Fixes #15186 Closes gh-1620
* Build: update Sizzle to 2.0.0Timmy Willison2014-07-011-1/+1
|
* Build: update Sizzle to 1.11.1 and include licenseTimmy Willison2014-06-251-0/+1
|
* Build: Move all external libraries to external directoryScott González2014-06-241-13/+13
| | | | Closes gh-1593
* Build: Remove unused Sizzle test filesScott González2014-06-241-5/+1
|
* Ajax: move ajax event aliases to their own fileTimmy Willison2014-06-021-1/+1
| | | | Fixes #15126
* Build: run jshint and jscs on release scriptsTimmy Willison2014-05-231-2/+2
|
* Build: Remove json check for jscs configOleg Gaidarenko2014-04-231-4/+0
|
* Build: Remove Sizzle from run names passed to the testswarm taskMichał Gołębiowski2014-04-151-1/+1
|
* Build: Add lint taskOleg Gaidarenko2014-04-151-2/+2
|
* Build: Use jscs to check test helpersOleg Gaidarenko2014-04-151-0/+3
| | | | Also fix issues found by jscs
* Sizzle: update committed dependenciesTimmy Willison2014-01-131-1/+5
|
* Build: Happy New Year! Thanks @marlonlandaverdeDave Methvin2014-01-091-1/+1
|
* Gruntfile: fix watch taskTimmy Willison2013-12-201-1/+1
|
* Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasksMichał Gołębiowski2013-12-181-15/+6
| | | | | | | | | 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
* Manage bower dependencies with grunt-bowercopyTimmy Willison2013-12-061-8/+19
| | | | | | | | | | | | 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.
* Use grunt and bower packages as local dependencies. Close gh-1433.Timmy Willison2013-11-141-0/+12
|
* Remove workarounds for the uglify task mishandling banners when used with ↵Michał Gołębiowski2013-11-091-29/+10
| | | | | | | source maps. The issue was fixed in grunt-contrib-uglify: https://github.com/gruntjs/grunt-contrib-uglify/issues/22
* Check Gruntfile and tasks for code styleOleg2013-11-081-1/+3
|
* Add load-grunt-tasks package dependencySindre Sorhus2013-11-071-8/+1
| | | | Close gh-1405