grunt-combohtml
Advanced tools
Comparing version 0.1.37 to 0.1.38
{ | ||
"name": "grunt-combohtml", | ||
"description": "combine build html with ssi.", | ||
"version": "0.1.37", | ||
"version": "0.1.38", | ||
"homepage": "https://github.com/jayli/grunt-combohtml", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -41,2 +41,10 @@ // 'use strict'; | ||
var combinedCSS = getCombinedAssets(CSS_Files); | ||
try { | ||
JS_Files = teardownParams(JS_Files); | ||
CSS_Files = teardownParams(CSS_Files); | ||
} catch(e){} | ||
console.log(JS_Files); | ||
return { | ||
@@ -49,2 +57,9 @@ content: insertScript(recall(content), combinedJS, combinedCSS), | ||
function teardownParams(a){ | ||
for(var i = 0;i<a.length;i++){ | ||
a[i] = a[i].replace(/\?nocombo=(true|false)/i,''); | ||
} | ||
return a; | ||
} | ||
function insertComboMapFile(jss, comboFile) { | ||
@@ -51,0 +66,0 @@ var a = []; |
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
157581
4027