Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add readme

  • Loading branch information...
commit ce886dc3fddccdfe589664863d6815edb71693c7 1 parent 4651ca0
@shimondoodkin authored
Showing with 5 additions and 4 deletions.
  1. +1 −1  index.js
  2. +3 −2 package.json
  3. +1 −1  test.js
View
2  index.js
@@ -203,4 +203,4 @@ tObserver.prototype={
//}
//this=tObserver;
-exports.template=tObserver;
+module.exports=tObserver;
View
5 package.json
@@ -2,7 +2,7 @@
"author": "Shimon Doodkin <helpmepro1@gmail.com> (http://doodkin.com)",
"name": "tob",
"description": "Template Observer. Enables self reloading templates on modification. Can work with many template engines.",
- "version": "0.1.0",
+ "version": "0.1.2",
"repository": {
"type": "git",
"url": "git://github.com/shimondoodkin/tob.git"
@@ -14,5 +14,6 @@
"node": ">0.3.0"
},
"dependencies": {},
- "devDependencies": {}
+ "devDependencies": {},
+ "homepage": "http://github.com/shimondoodkin/tob"
}
View
2  test.js
@@ -27,7 +27,7 @@ var simple_te={ // a simple template engine, returns a function, from underscore
};
-var template=require('./index.js').template;
+var template=require('./index.js');
var fs=require('fs');
template.load=function(filename,callback)
Please sign in to comment.
Something went wrong with that request. Please try again.