Commit Graph

302 Commits

Author SHA1 Message Date
Michał Gołębiowski
bb026fc12c Core: Make jQuery objects iterable
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
2015-06-13 23:14:36 +02:00
Michał Gołębiowski
9c8a3ecdc4 Build: Refactor Node smoke tests
Utilize the assert module, avoid inline JSHint comments.
2015-06-13 23:08:19 +02:00
Chris Rebert
61e21a4eaf Build: bower.json: remove moot version field
Related:
a325da3d79

Close gh-2304
2015-05-13 12:28:21 -04:00
Timmy Willison
5c3101fee6 Build: use different versions of jsdom for Node and iojs testing
Fixes gh-2266
2015-05-07 09:57:59 -07:00
Michał Gołębiowski
ab40725879 Core: Test all factory use cases from intro.js
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
2015-04-27 22:44:47 +02:00
Richard Gibson
555a50d340 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996
2015-03-20 02:00:17 -04:00
Timmy Willison
1ba45fcc15 Release: push dist to same remote as project 2015-01-30 12:53:28 -08:00
Timmy Willison
a76c781236 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:22:31 -08:00
Timmy Willison
e0673dfedb Release: fix CDN archive creation
Fixes gh-1940
2015-01-29 17:38:35 -08:00
Timmy Willison
aae998b544 Release: dist can be run during a test 2015-01-29 15:36:48 -08:00
Timmy Willison
61224f5fef Release: bower.json is actually generated from scratch 2015-01-29 12:25:57 -08:00
Timmy Willison
26eca143c2 Release: Distribute files to distribution repo
Fixes gh-1869
Fixes gh-1673
Fixes gh-2045
2015-01-29 12:03:40 -08:00
Richard Gibson
bb928bde7e Build: Rearrange grunt/npm tasks into a build/dist/test pattern
Ref 76df9e4e38
Closes gh-1980
2015-01-11 10:28:18 -05:00
Dave Methvin
c34ed46eee Release: Remove copying of jquery-latest files 2015-01-06 21:59:14 -05:00
Timmy Willison
d6c97abb74 Build: Sizzle version labels must start with a dash 2014-12-17 11:17:41 -05:00
Timmy Willison
78ac753192 Build: account for version labels in Sizzle versions
Fixes gh-1939
2014-12-17 10:42:29 -05:00
Timmy Willison
6051609df3 Build: fix tests in AMD mode 2014-12-09 15:39:24 -05:00
David Corbacho
2c1b556d98 Build: Remove empty define({}) from build output
Fixes gh-1768
Closes gh-1569
2014-12-04 16:38:00 -05:00
Oleg Gaidarenko
dc4b914a05 Build: Fix various typos
Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844
2014-11-08 17:24:33 +03:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Timmy Willison
e1949f4371 Build: drop bower; use npm for front-end deps
Fixes #15186
Closes gh-1620
2014-07-17 09:02:59 -07:00
Scott González
c5d9d88dce Build: Move all external libraries to external directory
Closes gh-1593
2014-06-24 10:17:50 -04:00
Timmy Willison
1d931068d3 Release: ensure Sizzle is the latest tag
Fixes #14915
2014-05-23 13:49:57 -04:00
Timmy Willison
b80700c75f Build: run jshint and jscs on release scripts 2014-05-23 13:01:03 -04:00
Michał Gołębiowski
a0568b07d8 Build: set default testswarm timeout to 15 minutes
We're not testing on IE6-7 anymore.
2014-04-15 11:47:52 +02:00
Michał Gołębiowski
7869891a97 Build: use browserSets from config file; allow to override 2014-04-15 11:34:02 +02:00
Scott González
5265cdac3d Build: Update release script for new jquery-release API
Closes gh-1544
2014-03-21 12:33:10 -04:00
Michał Gołębiowski
c1e9bb9e61 Build: Change the timeout for the weekly job from 4h to 1h 2014-03-18 11:55:06 +01:00
Michał Gołębiowski
aa951a3184 Build: Refactor testswarm Grunt task options
Add a possibility to specify the project name. Infer browserSets & timeout
out of it instead of defining it in the Jenkins configuration.
2014-03-16 04:14:03 +01:00
Jörn Zaefferer
22c515c671 Build: Fix testswarm task, use API correctly 2014-03-12 11:08:16 +01:00
Michał Gołębiowski
a81dbc4ed8 Build: Allow to specify timeout in the testswarm task 2014-03-11 21:12:39 +01:00
Michał Gołębiowski
14872941f9 Build: Make it possible to change browserSets in the testswarm task 2014-03-10 20:37:11 +01:00
Timmy Willison
984f77a930 Build: Fix AMD option for custom builds
Fixes #14859
2014-03-07 09:55:26 -05:00
Michał Gołębiowski
53e31f478e Build: Specify browserSets for TestSwarm directly 2014-01-27 22:01:15 +01:00
Michał Gołębiowski
d41fc68d9b Build: Remove obsolete UglifyJS workaround 2014-01-26 04:02:20 +01:00
Timmy Willison
de7702ac59 Release: Instantiate a zip archiver, run archivers async 2014-01-23 16:00:54 -05:00
Jörn Zaefferer
20ea8071b4 Release: Publish to npm
Closes gh-1479
2014-01-10 09:25:11 -05:00
Timmy Willison
23db994404 Release script: _tracMilestone -> tracMilestone 2013-12-21 12:07:40 -05:00
Timmy Willison
74a48958bd Release script: minor formatting issue. 2013-12-20 17:37:38 -05:00
Timmy Willison
f3062f96e0 Release script: jquery-release integration 2013-12-20 17:25:03 -05:00
Timmy Willison
7e8a91c205 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:31:36 -05:00
Timmy Willison
a6f474e699 Build: Add the ability to remove global exposure.
Ref #14016
2013-12-19 15:00:06 -05: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
14c19cf1a8 Release script: Add dist files in multiple commits for a clean final commit with a small diff 2013-11-15 10:48:49 -05:00
Timmy Willison
b04b386180 Release script: Add .npmignore and keep .gitignore when creating the tag 2013-11-15 10:32:13 -05:00
Timmy Willison
9aacb89f36 Release script: create tag after building CDN files 2013-11-15 09:32:46 -05:00
Timmy Willison
7f0b28e308 Update sizzle location in release script 2013-11-14 10:21:46 -05:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Timmy Willison
2035695624 Modify release script to create a headless tag for bower and publish to NPM 2013-11-13 23:51:09 -05:00
Michał Gołębiowski
7d5a12376d No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. 2013-11-10 23:47:04 +01:00