Skip to content

Commit

Permalink
fix: add registerWith property to dustjs-helpers which has factory fu…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
kumarrishav authored and krishav committed Dec 8, 2017
1 parent 3a6c446 commit 133b353
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
package-lock.json
*.DS_Store
.*.sw[a-z]
*.un~
Expand All @@ -8,4 +9,4 @@ Session.vim
_SpecRunner.html
tmp
.idea
*.iml
*.iml
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
language: node_js
node_js:
- "0.12"
- "iojs"
- "4"
- "6"
- "8"
matrix:
include:
- node_js: "0.10"
node_js: "0.10"
env: TEST="all"
notifications:
email:
Expand Down
1 change: 1 addition & 0 deletions lib/dust-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
define(['dust.core'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('dustjs-linkedin'));
module.exports.registerWith = factory;
} else {
factory(root.dust);
}
Expand Down

0 comments on commit 133b353

Please sign in to comment.