Permalink
Browse files

Merge pull request #128 from smh/master

Adding back in support for browserify.
  • Loading branch information...
2 parents 5e43e63 + 2feae03 commit 69e17367c243fe6024e844d28923f0957fce9b63 @johnpapa johnpapa committed Nov 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 toastr.js
View
@@ -303,7 +303,7 @@
});
}(typeof define === 'function' && define.amd ? define : function (deps, factory) {
if (typeof module !== 'undefined' && module.exports) { //Node
- module.exports = factory(require(deps[0]));
+ module.exports = factory(require('jquery'));
} else {
window['toastr'] = factory(window['jQuery']);
}

0 comments on commit 69e1736

Please sign in to comment.