Comparing version 2.5.0 to 2.5.1
12
index.js
@@ -15,2 +15,4 @@ /*jshint node: true*/ | ||
var MARKER = "// hbsfy compiled Handlebars template\n"; | ||
function findPartials(tree) { | ||
@@ -108,3 +110,3 @@ var partials = []; | ||
var js; | ||
var compiled = "// hbsfy compiled Handlebars template\n"; | ||
var compiled = MARKER; | ||
var parsed = null; | ||
@@ -150,2 +152,10 @@ var partials = null; | ||
function() { | ||
// Pass through if already compiled. | ||
if (buffer.indexOf(MARKER) > -1) { | ||
this.queue(buffer); | ||
this.queue(null); | ||
return; | ||
} | ||
var compiled; | ||
@@ -152,0 +162,0 @@ |
{ | ||
"name": "hbsfy", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Handlebars precompiler plugin for Browserify v2", | ||
@@ -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
35475
722