This commit is contained in:
Van
2013-07-31 11:20:54 +08:00
parent 00a8f79373
commit c3b687a87b
66 changed files with 9643 additions and 1145 deletions

BIN
toolers/1.min.js vendored Normal file

Binary file not shown.

View File

@@ -12,11 +12,11 @@ var getCompressFiles = function (root) {
if (!stat.isDirectory()) {
if (pathname.indexOf("mobile") < 0 && path.basename(pathname).indexOf(".min") < 0) {
if (path.dirname(pathname).indexOf("css") > -1) {
if (path.dirname(pathname).indexOf("css") > -1 && path.extname(pathname) === ".css") {
res.push("css-" + pathname);
}
if (path.dirname(pathname).indexOf("js") > -1) {
if (path.dirname(pathname).indexOf("js") > -1 && path.extname(pathname) === ".js") {
res.push("js-" + pathname);
}
}