Comparing version 0.1.0 to 0.1.1
/*! | ||
* tinytim.js | ||
* github.com/premasagar/tim | ||
* | ||
*//* | ||
tinytim.js | ||
github.com/premasagar/tim | ||
A tiny, secure JavaScript micro-templating script. | ||
*//* | ||
by Premasagar Rose | ||
dharmafly.com | ||
license | ||
opensource.org/licenses/mit-license.php | ||
** | ||
creates global object | ||
tim | ||
** | ||
v0.3.0 | ||
*/ | ||
/* | ||
* ported and modified by LI Long <lilong@gmail.com> 3/13/2012 | ||
ported and modified by LI Long <lilong@gmail.com> 3/13/2012 | ||
*/ | ||
@@ -28,0 +15,0 @@ var start = exports.start = "{{"; |
@@ -5,4 +5,9 @@ { | ||
"homepage": "http://github.com/baryon/node-tinytim", | ||
"version": "0.1.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/baryon/node-tinytim" | ||
}, | ||
"version": "0.1.1", | ||
"author": "LI Long <lilong@gmail.com>", | ||
"license": "MIT", | ||
"contributors": [ | ||
@@ -14,8 +19,8 @@ { "name": "Premasagar Rose", "email": "p@dharmafly.com" } | ||
"devDependencies": { | ||
"expresso": "0.9.2" | ||
"mocha": "1.20.x" | ||
}, | ||
"main": "./lib/index", | ||
"keywords": ["template", "micro template", "tim"], | ||
"scripts": { "test": "expresso test/*" }, | ||
"scripts": { "test": "mocha test/*" }, | ||
"engines": { "node": ">= 0.2.0" } | ||
} | ||
} |
@@ -5,2 +5,3 @@ #tinytim for node.js [![Build Status](https://secure.travis-ci.org/baryon/node-tinytim.png)](http://travis-ci.org/baryon/node-tinytim) | ||
##Install | ||
@@ -22,6 +23,6 @@ ----- | ||
See [test/test.js](https://github.com/baryon/node-tinytim/blob/master/test/test.js) as example | ||
See [test/tim-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/tim-replace.js) as example | ||
and support render and renderFile methods. | ||
See [test/render.js](https://github.com/baryon/node-tinytim/blob/master/test/render.js) and [test/renderFile.js](https://github.com/baryon/node-tinytim/blob/master/test/renderFile.js) for details. | ||
See [test/render-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/render-replace.js) and [test/render-file-replace.js](https://github.com/baryon/node-tinytim/blob/master/test/render-file-replace.js) for details. | ||
@@ -170,2 +171,6 @@ ```javascript | ||
# mustache.js and Handlebars.js | ||
tinytim is very simple, if you need a more powerful template library, see [mustache.js](http://mustache.github.com/) and [Handlebars.js](https://github.com/wycats/handlebars.js/) | ||
## History | ||
@@ -172,0 +177,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
15864
13
212
1
258
1