Skip to content

Commit

Permalink
raise version
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunlee committed May 3, 2011
1 parent f9c7251 commit e0effb4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ via npm:
jst.addFilter('filterName', function(arg1, arg2, arg3) { return function(src) { ... }}); jst.addFilter('filterName', function(arg1, arg2, arg3) { return function(src) { ... }});
jst.render('{{ it.value|filterName(1, 2, 3) }}', {value: 123}); jst.render('{{ it.value|filterName(1, 2, 3) }}', {value: 123});


// i18n
jst.render('{{ _("Hello {it.name}")|e }}', {name: '<strong>jst</strong>'});

// Client side // Client side
<script src="jst.js"></script> <script src="jst.js"></script>
<script> <script>
Expand Down
2 changes: 1 addition & 1 deletion lib/jst.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var fs = require('fs'),
filters = require('./filters'), filters = require('./filters'),
hash = require('./hash'); hash = require('./hash');


exports.version = '0.0.9'; exports.version = '0.0.10';


var _cache = {}, var _cache = {},
_files = {}, _files = {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
{ {
"name": "jst", "name": "jst",
"description": "Node JavaScript Template, A pretty high performance template engine", "description": "Node JavaScript Template, A pretty high performance template engine",
"version": "0.0.9", "version": "0.0.10",
"author": "Shaun Li <shonhen@gmail.com>", "author": "Shaun Li <shonhen@gmail.com>",
"keywords": ["template", "engine", "jst"], "keywords": ["template", "engine", "jst"],
"main": "./lib/jst.js" "main": "./lib/jst.js"
Expand Down

0 comments on commit e0effb4

Please sign in to comment.