Skip to content

Commit

Permalink
require jquery for commonjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrins committed Dec 14, 2015
1 parent 22e4ee1 commit d60bde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
define(['jquery'], factory);
}
else if (typeof exports == "object" && typeof module == "object") { // CommonJS
module.exports = factory;
module.exports = factory(require('jquery'));
}
else { // Browser
factory(jQuery);
Expand Down

0 comments on commit d60bde7

Please sign in to comment.