Comparing version 0.0.10 to 0.0.11
@@ -12,3 +12,3 @@ /** | ||
exports.version = '0.0.10'; | ||
exports.version = '0.0.11'; | ||
@@ -15,0 +15,0 @@ var _cache = {}, |
{ | ||
"name": "jst", | ||
"description": "Node JavaScript Template, A pretty high performance template engine", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"author": "Shaun Li <shonhen@gmail.com>", | ||
"keywords": ["template", "engine", "jst"], | ||
"main": "./lib/jst.js" | ||
"main": "./lib/jst.js", | ||
"dependencies": {"locales": ">0.0.0"} | ||
} |
@@ -58,2 +58,5 @@ # Node JavaScript Template | ||
// i18n | ||
jst.configure({ | ||
locales: {lang: 'zh_CN', locales: __dirname + '/locales'} | ||
}); | ||
jst.render('{{ _("Hello {it.name}")|e }}', {name: '<strong>jst</strong>'}); | ||
@@ -60,0 +63,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
19828
14
477
100
1
+ Addedlocales@>0.0.0
+ Addedlocales@0.0.2(transitive)