Skip to content

Commit

Permalink
add support for jsreport.use
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Dec 5, 2015
1 parent 4929acc commit 6d16f66
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var main = require('./lib/embedding.js')
var config = require('./jsreport.config.js')

module.exports = function (options) {
config.options = options
config.main = main
config.directory = __dirname
return config
}

0 comments on commit 6d16f66

Please sign in to comment.