diff --git a/.gitignore b/.gitignore index aad0944..f548d0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules +package-lock.json *.DS_Store .*.sw[a-z] *.un~ @@ -8,4 +9,4 @@ Session.vim _SpecRunner.html tmp .idea -*.iml \ No newline at end of file +*.iml diff --git a/.travis.yml b/.travis.yml index ee34cd6..7472d41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/lib/dust-helpers.js b/lib/dust-helpers.js index 18d2a4f..864e2c5 100644 --- a/lib/dust-helpers.js +++ b/lib/dust-helpers.js @@ -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); }