underscore-template-loader
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -11,9 +11,8 @@ var _ = require('underscore'); | ||
var self = readFile; | ||
self.buffer = {} || self.buffer; | ||
self.buffer = self.buffer || {}; | ||
if (filepath in self.buffer) { | ||
if (filepath in self.buffer) | ||
return self.buffer[filepath]; | ||
} | ||
var content = resolveContent(fs.readFileSync(path.join(root, filepath), 'utf8'), root); | ||
var content = readContent(fs.readFileSync(path.join(root, filepath), 'utf8'), root); | ||
self.buffer[filepath] = content; | ||
@@ -20,0 +19,0 @@ return self.buffer[filepath]; |
{ | ||
"name": "underscore-template-loader", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A Underscore template loader for Webpack", | ||
@@ -5,0 +5,0 @@ "main": "index.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
4405
34