grunt-usemin
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -46,2 +46,5 @@ 'use strict'; | ||
var startAtRoot = false; | ||
var regexpQuote = function(str) { | ||
return (str+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1"); | ||
}; | ||
@@ -60,3 +63,3 @@ //do not touch external files or the root | ||
// Our filename | ||
var basename = path.basename(file); | ||
var basename = regexpQuote(path.basename(file)); | ||
// The path (possibly relative) to the file we're the revved looking for | ||
@@ -63,0 +66,0 @@ var dirname = path.dirname(file); |
{ | ||
"name": "grunt-usemin", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Grunt task replaces references to non-optimized scripts or stylesheets into a set of HTML files (or any templates/views).", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
28501
590