aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-07-09 11:23:55 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-07-09 11:23:55 -0400
commite0d77fab567d9495da3892cdc42ed2e89de32644 (patch)
tree15aec641bb85867b8e135ae0e07a7216712647bf /grunt.js
parent4a90bced777c7a4801fca240f5f9f7f02fb1d2b7 (diff)
downloadjquery-e0d77fab567d9495da3892cdc42ed2e89de32644.tar.gz
jquery-e0d77fab567d9495da3892cdc42ed2e89de32644.zip
Fixes indentation in grunt.js
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js62
1 files changed, 31 insertions, 31 deletions
diff --git a/grunt.js b/grunt.js
index 086470a12..e500444c4 100644
--- a/grunt.js
+++ b/grunt.js
@@ -156,41 +156,41 @@ module.exports = function( grunt ) {
api: file.read( files[0] ),
src: file.read( files[1] )
},
- compiled, parts;
+ compiled, parts;
- /**
+ /**
- sizzle-jquery.js -> sizzle between "EXPOSE" blocks,
- replace define & window.Sizzle assignment
+ sizzle-jquery.js -> sizzle between "EXPOSE" blocks,
+ replace define & window.Sizzle assignment
- // EXPOSE
- if ( typeof define === "function" && define.amd ) {
- define(function() { return Sizzle; });
- } else {
- window.Sizzle = Sizzle;
- }
- // EXPOSE
-
- Becomes...
-
- Sizzle.attr = jQuery.attr;
- jQuery.find = Sizzle;
- jQuery.expr = Sizzle.selectors;
- jQuery.expr[":"] = jQuery.expr.pseudos;
- jQuery.unique = Sizzle.uniqueSort;
- jQuery.text = Sizzle.getText;
- jQuery.isXMLDoc = Sizzle.isXML;
- jQuery.contains = Sizzle.contains;
-
- */
-
- // Break into 3 pieces
- parts = sizzle.src.split("// EXPOSE");
- // Replace the if/else block with api
- parts[1] = sizzle.api;
- // Rejoin the pieces
- compiled = parts.join("");
+ // EXPOSE
+ if ( typeof define === "function" && define.amd ) {
+ define(function() { return Sizzle; });
+ } else {
+ window.Sizzle = Sizzle;
+ }
+ // EXPOSE
+
+ Becomes...
+
+ Sizzle.attr = jQuery.attr;
+ jQuery.find = Sizzle;
+ jQuery.expr = Sizzle.selectors;
+ jQuery.expr[":"] = jQuery.expr.pseudos;
+ jQuery.unique = Sizzle.uniqueSort;
+ jQuery.text = Sizzle.getText;
+ jQuery.isXMLDoc = Sizzle.isXML;
+ jQuery.contains = Sizzle.contains;
+
+ */
+
+ // Break into 3 pieces
+ parts = sizzle.src.split("// EXPOSE");
+ // Replace the if/else block with api
+ parts[1] = sizzle.api;
+ // Rejoin the pieces
+ compiled = parts.join("");
verbose.write("Injected sizzle-jquery.js into sizzle.js");