broccoli-asset-rev
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -1,2 +0,1 @@ | ||
var path = require('path'); | ||
var Filter = require('broccoli-filter'); | ||
@@ -13,3 +12,3 @@ | ||
this.assetMap = options.assetMap || {}; | ||
this.replaceExtensions = options.replaceExtensions || []; | ||
this.extensions = options.replaceExtensions || []; | ||
this.prepend = options.prepend || ''; | ||
@@ -22,8 +21,4 @@ this.description = options.description; | ||
UseRev.prototype.processString = function (string, relativePath) { | ||
UseRev.prototype.processString = function (string) { | ||
var newString = string; | ||
var extension = path.extname(relativePath).slice(1); // get the extension without leading period | ||
if (this.replaceExtensions.indexOf(extension) === -1) { | ||
return string; | ||
} | ||
@@ -30,0 +25,0 @@ /* |
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -5,0 +5,0 @@ "main": "lib/asset-rev.js", |
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
10659
191