Permalink
Browse files

raise version

  • Loading branch information...
1 parent f9c7251 commit e0effb426767874b45f9e23f752384c572be839a @shaunlee committed May 3, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −0 Readme.md
  2. +1 −1 lib/jst.js
  3. +1 −1 package.json
View
@@ -54,6 +54,9 @@ via npm:
jst.addFilter('filterName', function(arg1, arg2, arg3) { return function(src) { ... }});
jst.render('{{ it.value|filterName(1, 2, 3) }}', {value: 123});
+ // i18n
+ jst.render('{{ _("Hello {it.name}")|e }}', {name: '<strong>jst</strong>'});
+
// Client side
<script src="jst.js"></script>
<script>
View
@@ -9,7 +9,7 @@ var fs = require('fs'),
filters = require('./filters'),
hash = require('./hash');
-exports.version = '0.0.9';
+exports.version = '0.0.10';
var _cache = {},
_files = {},
View
@@ -1,7 +1,7 @@
{
"name": "jst",
"description": "Node JavaScript Template, A pretty high performance template engine",
- "version": "0.0.9",
+ "version": "0.0.10",
"author": "Shaun Li <shonhen@gmail.com>",
"keywords": ["template", "engine", "jst"],
"main": "./lib/jst.js"

0 comments on commit e0effb4

Please sign in to comment.