Skip to content

Commit

Permalink
Merge pull request #320 from jluchiji/master
Browse files Browse the repository at this point in the history
Exposing Seneca prototype for easier monkey-patching
  • Loading branch information
geek committed Jan 28, 2016
2 parents 121b84c + 268935f commit 83bf099
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions seneca.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ module.exports = function init (seneca_options, more_options) {
return seneca
}

// Expose Seneca prototype for easier monkey-patching
module.exports.Seneca = Seneca

// To reference builtin loggers when defining logging options.
module.exports.loghandler = Logging.handlers

Expand Down

0 comments on commit 83bf099

Please sign in to comment.