Permalink
Browse files

exposed engine for manual usage, per user request

  • Loading branch information...
1 parent 09874c2 commit f60a165025a95d974e46d617319331f0e1f33bd8 @malgorithms committed Sep 4, 2012
Showing with 171 additions and 204 deletions.
  1. +2 −0 index.coffee
  2. +2 −0 index.js
  3. +121 −161 lib/toffee_lang.js
  4. +2 −0 lib/view.js
  5. +1 −1 package.json
  6. +2 −2 src/view.coffee
  7. +39 −39 test/express3/public/javascripts/test_cases.js
  8. +2 −1 test/run_cases.coffee
View
@@ -1,5 +1,7 @@
# expose the render function
eclass = require('./lib/engine').engine
+exports.engine = eclass
+
e = new eclass { verbose: false, prettyPrintErrors: true }
exports.expressEngine = e
View

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

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f60a165

Please sign in to comment.