Skip to content

Commit

Permalink
Merge pull request msurguy#22 from shesek/patch-1
Browse files Browse the repository at this point in the history
Pass Spinner in CommonJS environment
  • Loading branch information
msurguy committed Jul 7, 2014
2 parents 0f71342 + 4635fea commit 2a8d7bf
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 2a8d7bf

Please sign in to comment.