Fix build indenting.

Former-commit-id: 87a7793799ee3ed28fe67cb894aa2876be103c50
This commit is contained in:
John-David Dalton
2013-02-22 02:00:42 -08:00
parent 860339b90e
commit 4136f1b377
2 changed files with 396 additions and 361 deletions

View File

@@ -296,7 +296,9 @@
});
// replace with modified snippet
source = source.replace(snippet, modified);
source = source.replace(snippet, function() {
return modified;
});
});
}());
@@ -331,7 +333,10 @@
if (isCreateIterator) {
// clip before the `factory` call to avoid minifying its arguments
source = source.replace(snippet, modified);
source = source.replace(snippet, function() {
return modified;
});
snippet = modified = modified.replace(/return factory\([\s\S]+$/, '');
}
// minify `createIterator` option property names
@@ -358,7 +363,9 @@
});
// replace with modified snippet
source = source.replace(snippet, modified);
source = source.replace(snippet, function() {
return modified;
});
});
return source;