Commit Graph

22 Commits

Author SHA1 Message Date
Timmy Willison
36c3f32f00 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:36:34 -05:00
Timmy Willison
1d3b60044b Build: Add the ability to remove global exposure.
Ref #14016

Conflicts:
	build/tasks/build.js
	src/core.js
2013-12-19 15:36:34 -05:00
Timmy Willison
c2e0dbdaa5 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.

Conflicts:
	bower.json
	test/index.html
2013-12-06 16:14:27 -05:00
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Michał Gołębiowski
14272ba9d1 No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. (cherry-picked from 7d5a12376d) 2013-11-10 23:47:56 +01:00
Michał Gołębiowski
7c38b0686d Remove workarounds for the uglify task mishandling banners when used with source maps. (cherry-picked from d0fadbba9f)
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:40 +01:00
Timmy Willison
62900a9edb Fixes #14450. Remove CommonJS+AMD syntax.
- To keep file size unaffected, an extra pragma was added to build.js to remove certain lines when building with special comments.

Conflicts:
	src/core.js
	src/css.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
2013-10-15 11:59:16 -04:00
Timmy Willison
03dd51494f Remove comment 2013-10-15 10:45:15 -04:00
Timmy Willison
67e56db39e Update requirejs to compatible version, remove r.js
Conflicts:
	package.json
2013-10-15 09:54:06 -04:00
Timo Tijhof
2ef0a17031 Gruntfile: Remove project prefix from TestSwarm job name 2013-10-06 21:54:03 -04:00
Michał Gołębiowski
11f386fe89 No ticket. Simplify the post-uglify task. (cherry-picked from 923bfc80db) 2013-10-02 00:40:29 +02:00
Timmy Willison
5bd074dd46 Remove offset dependency from css. Move curCSS and getStyles to their own module. 2013-09-10 20:08:54 -05:00
Timmy Willison
5fbf4a4fe3 Map Sizzle to a path with config to allow users to put Sizzle wherever they want 2013-09-10 18:48:53 -05:00
Timmy Willison
6c57339112 Don't keep semicolons if the require call is not a var declaration 2013-09-09 12:32:13 -04:00
Timmy Willison
2063d6c189 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.
Conflicts:
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/traversing.js
2013-09-09 12:04:03 -04:00
Timmy Willison
ee0343dd1b Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
Conflicts:
	src/core.js
2013-09-09 11:47:03 -04:00
Timmy Willison
a289beb688 Restore optIn behavior for builds
Conflicts:
	build/tasks/build.js
2013-09-08 22:27:40 -04:00
Michał Gołębiowski
9035cab8c8 Fix #13983. Switch to //# for sourcemap directives. (cherry-picked from dfaee326e6) 2013-09-05 18:24:13 +02:00
Timmy Willison
ca4a007524 Minor build change: remove trailing tabs 2013-08-16 14:33:42 -04:00
Timmy Willison
2f985ff826 When converting the source to AMD, don't forget to AMD 2013-08-16 12:56:33 -04:00
Timmy Willison
993418e9e9 Custom builds: Fix source folder location now that build.js is in the tasks folder 2013-08-16 10:13:45 -04:00
Oleg Gaidarenko
213eaad880 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

Conflicts:
	Gruntfile.js
	build/tasks/build.js
2013-08-16 10:04:31 -04:00