Comparing version 2.7.0 to 2.8.0
@@ -26,3 +26,3 @@ /*jshint node: true*/ | ||
// handlebars 3,4 | ||
if (node.type === 'PartialStatement' && !inlinePartials[node.name.original]) { | ||
if ((node.type === 'PartialStatement' || node.type === 'PartialBlockStatement') && node.name.original.substr(0,1) !== "@" && !inlinePartials[node.name.original]) { | ||
partials.push(node.name.original); | ||
@@ -29,0 +29,0 @@ return |
{ | ||
"name": "hbsfy", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "Handlebars precompiler plugin for Browserify v2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -222,2 +222,10 @@ [![Build Status](https://travis-ci.org/epeli/node-hbsfy.png?branch=master)](https://travis-ci.org/epeli/node-hbsfy) | ||
### 2.8.0 | ||
- Support block partials, ignoring templates with `@` prefix. [#60](https://github.com/epeli/node-hbsfy/pull/60) | ||
### 2.7.0 | ||
- Allow inline partials when using `--traverse`. [#54](https://github.com/epeli/node-hbsfy/pull/54) | ||
### 2.6.0 | ||
@@ -224,0 +232,0 @@ |
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
39888
43
806
294
17