diff --git a/spectrum.js b/spectrum.js index 4fac4094..8ad01743 100644 --- a/spectrum.js +++ b/spectrum.js @@ -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);