Skip to content

Commit

Permalink
Pass Spinner in CommonJS environment
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Jul 5, 2014
1 parent 0f71342 commit 4635fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ladda.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// CommonJS
if( typeof exports === 'object' ) {
module.exports = factory();
module.exports = factory(require('./spin'));
}
// AMD module
else if( typeof define === 'function' && define.amd ) {
Expand Down

0 comments on commit 4635fea

Please sign in to comment.