grunt-update-reference
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -10,3 +10,3 @@ 'use strict'; | ||
searchIgnore:["lib/**/*","tasks/**/*"], | ||
newer:1, | ||
newer:0, | ||
log:"simple"//"none","all" | ||
@@ -13,0 +13,0 @@ }, |
@@ -19,3 +19,3 @@ | ||
var realTimeNewFileName = []; //添加时间戳过程中,把被修改的文件也加入加戳列表; | ||
//console.time("all"); | ||
var doIt = function ( newFileName, logDeco ) { | ||
@@ -48,3 +48,3 @@ logDeco = logDeco||""; | ||
newFileName.forEach( function ( oneFile ) { | ||
var regx = new RegExp( "(?!\\n|\\r\\n*)(.+)" + "(" + oneFile + "[^\"|\'|\\)]*)(?=\"|\'|\\))(.*)", "g" ); | ||
var regx = new RegExp( "(?!\\n|\\r\\n*)(.+)" + "(" + oneFile + "[^\"|\'|\\|\\n|\\r\\n)]*)(?=\"|\'|\\))(.*)", "g" ); | ||
@@ -93,2 +93,3 @@ contents = contents.replace( regx, function () { | ||
doIt( newFileName ); | ||
//console.timeEnd( "all" ); | ||
}; |
{ | ||
"name": "grunt-update-reference", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
175
test/base.js
@@ -0,5 +1,176 @@ | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1458557032035", | ||
xcss = "./xcss/base.css?t=1458557032035"; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); | ||
/** | ||
* @name 平台签到功能 | ||
* @author x | ||
* @time 2015-3-24 | ||
* @Depends | ||
* base.css | ||
* @example | ||
* new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ * new SC.Sign({ | ||
* }?t=1459326558061); | ||
*/ | ||
+function () { | ||
//reference css file; | ||
var css = "./base.css?t=1459326558061", | ||
xcss = "./xcss/base.css?t=1459326558061"; | ||
}(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41165
378