Permalink
Browse files

added render alias for run

  • Loading branch information...
1 parent 6323af6 commit fa71faa595851e8ce7b3b19bf57325417c4e3f65 @malgorithms committed Oct 11, 2012
Showing with 9 additions and 1 deletion.
  1. +6 −0 lib/engine.js
  2. +1 −1 package.json
  3. +2 −0 src/engine.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"name": "toffee",
"description": "An Express 3.x and 2.x templating language based on CoffeeScript with slicker tokens and syntax. Built with love at OkCupid.",
- "version": "0.0.44",
+ "version": "0.0.45",
"directories": {
"lib": "./lib"
},
View
@@ -21,6 +21,8 @@ class engine
else
console.log "toffee: #{util.inspect o}"
+ render: (filename, options, cb) => @run filename, options, cb
+
run: (filename, options, cb) =>
###
"options" contains the pub vars and may contain special items:

0 comments on commit fa71faa

Please sign in to comment.