Comparing version 2.0.1 to 2.0.2
@@ -21,3 +21,3 @@ // 3rd party | ||
block.push(context(this)); | ||
block.push(context.fn(this)); // for older versions of handlebars, use block.push(context(this)); | ||
}); | ||
@@ -24,0 +24,0 @@ |
{ | ||
"name": "hbs", | ||
"description": "Express.js template engine plugin for Handlebars", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "https://github.com/donpark/hbs", | ||
@@ -12,6 +12,6 @@ "author": "Don Park <donpark@docuverse.com> (http://blog.docuverse.com)", | ||
"dependencies": { | ||
"handlebars": "1.0.7" | ||
"handlebars": "1.0.9" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.7.0", | ||
"mocha": "1.6.0", | ||
"npm": "~1.1.62", | ||
@@ -26,3 +26,6 @@ "request": "~2.9.202" | ||
}, | ||
"optionalDependencies": {} | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/donpark/hbs.git" | ||
} | ||
} |
@@ -44,2 +44,14 @@ # hbs [![Build Status](https://secure.travis-ci.org/donpark/hbs.png)](http://travis-ci.org/donpark/hbs) # | ||
## handlebars | ||
The handlebars require used by hbs can be accessed via the `handlebars` property on the `hbs` module. | ||
If you wish to use handlebars methods like `SafeString` please do so on this property. Do not register | ||
helpers or partials in this way. | ||
``` | ||
// hbs.handlebars is the handlebars module | ||
hbs.handlebars === require('handlebars'); | ||
``` | ||
## Recipes ## | ||
@@ -46,0 +58,0 @@ |
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
12670
66
2
+ Addedhandlebars@1.0.9(transitive)
- Removedhandlebars@1.0.7(transitive)
Updatedhandlebars@1.0.9