Skip to content

Commit

Permalink
fix: fix (again) browser load of circuitBreaker
Browse files Browse the repository at this point in the history
  • Loading branch information
lance committed Dec 22, 2016
1 parent 5a0594c commit 58a80fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ function exportModule (exported) {
if (typeof module === 'object' && module.exports) {
// we're in a node.js environment
module.exports = exports = exported;
} else {
root[exported.name] = exported;
}
root[exported.name] = exported;
}

exportModule(circuitBreaker);

0 comments on commit 58a80fb

Please sign in to comment.