Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
add wrappers/wrap to public interface
Browse files Browse the repository at this point in the history
  • Loading branch information
piranha committed Mar 29, 2013
1 parent c28d5c9 commit 9124a21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "leco",
"description": "Le Embedded CoffeeScript templates",
"author": "Instant Communication Ltd",
"version": "1.0.0",
"version": "1.0.1",
"licenses": {
"type": "ISC",
"url": "http://github.com/piranha/leco/raw/master/LICENSE"
Expand Down
2 changes: 2 additions & 0 deletions src/command.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ run = ->
return wrap(options.wrap, template, options[0])


exports.wrap = wrap
exports.wrappers = wrappers
exports.run = run
5 changes: 4 additions & 1 deletion src/leco.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{compile, printHelpers} = require './compiler'
{tokenize} = require './tokenizer'
{transform} = require './transformer'
{wrappers, wrap} = require './command'
helpers = require './helpers'

module.exports = {compile, printHelpers, tokenize, transform}
module.exports = {compile, printHelpers, tokenize, transform, helpers,
wrappers, wrap}

0 comments on commit 9124a21

Please sign in to comment.