mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Modularize ajax (and sub-modules).
Tests are guaranteed to run with ajax removed, not with just ajax/jsonp, ajax/script or ajax/xhr removed. Removing ajax saves 3982 bytes minified gzipped.
This commit is contained in:
parent
ac48a19b92
commit
a47b304f81
8
grunt.js
8
grunt.js
@ -64,10 +64,10 @@ module.exports = function( grunt ) {
|
|||||||
"src/traversing.js",
|
"src/traversing.js",
|
||||||
"src/manipulation.js",
|
"src/manipulation.js",
|
||||||
{ flag: "css", src: "src/css.js" },
|
{ flag: "css", src: "src/css.js" },
|
||||||
"src/ajax.js",
|
{ flag: "ajax", src: "src/ajax.js" },
|
||||||
"src/ajax/jsonp.js",
|
{ flag: "ajax/jsonp", src: "src/ajax/jsonp.js", needs: [ "ajax", "ajax/script" ] },
|
||||||
"src/ajax/script.js",
|
{ flag: "ajax/script", src: "src/ajax/script.js", needs: ["ajax"] },
|
||||||
"src/ajax/xhr.js",
|
{ flag: "ajax/xhr", src: "src/ajax/xhr.js", needs: ["ajax"] },
|
||||||
{ flag: "effects", src: "src/effects.js", needs: ["css"] },
|
{ flag: "effects", src: "src/effects.js", needs: ["css"] },
|
||||||
{ flag: "offset", src: "src/offset.js", needs: ["css"] },
|
{ flag: "offset", src: "src/offset.js", needs: ["css"] },
|
||||||
{ flag: "dimensions", src: "src/dimensions.js", needs: ["css"] },
|
{ flag: "dimensions", src: "src/dimensions.js", needs: ["css"] },
|
||||||
|
Loading…
Reference in New Issue
Block a user