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
a76c781236
Release: remove sourcemap comment from all copies of minified file
...
Fixes gh-1707
2015-01-30 12:22:31 -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
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
Scott González
c5d9d88dce
Build: Move all external libraries to external directory
...
Closes gh-1593
2014-06-24 10:17:50 -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
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
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
ac7ff97f8b
Use grunt and bower packages as local dependencies. Close gh-1433.
2013-11-14 10:17:18 -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
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
Timmy Willison
b24a3d5368
Unify build script capabilities between branches. Specifically, added a special comment pragma for removing certain lines.
2013-10-15 12:03:55 -04:00
Timmy Willison
96286498d6
Remove comment
2013-10-15 10:44:50 -04:00
Timmy Willison
310b8f5b6e
Update requirejs to compatible version, remove r.js
2013-10-15 09:51:09 -04:00
Timo Tijhof
d1f247daf8
Gruntfile: Remove project prefix from TestSwarm job name, close gh-1387
2013-10-06 21:42:55 -04:00
Michał Gołębiowski
923bfc80db
No ticket. Simplify the post-uglify task.
2013-10-02 00:39:49 +02:00
Timmy Willison
aab9d63279
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
2013-09-10 18:47:36 -05:00
Timmy Willison
d788010aa7
Don't keep semicolons if the require call is not a var declaration
2013-09-09 13:55:07 -05:00
Timmy Willison
3b53b75160
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
2013-09-09 11:34:23 -04:00
Timmy Willison
1b3c0c00fa
Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
2013-09-09 09:50:12 -04:00
Timmy Willison
8791920183
Restore optIn behavior for builds
2013-09-08 22:26:05 -04:00
Michał Gołębiowski
dfaee326e6
Fix #13983 . Switch to //# for sourcemap directives.
2013-09-05 18:23:56 +02:00
Timmy Willison
a542590687
Fix cherry-pick issue. The master branch tests should not be run in oldIE.
2013-08-19 15:49:18 -04:00
Timmy Willison
32e803c5bc
Minor build change: remove trailing tabs
2013-08-16 14:41:13 -04:00
Timmy Willison
b693b370a4
When converting the source to AMD, don't forget to AMD
2013-08-16 12:54:43 -04:00
Timmy Willison
338e48aea5
Custom builds: Fix source folder location now that build.js is in the tasks folder
2013-08-16 10:13:09 -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