Skip to content

Commit

Permalink
Merge pull request #51 from nchase/patch-1
Browse files Browse the repository at this point in the history
In Node/CommonJS, actually use the thing that factory exposes.
  • Loading branch information
addyosmani committed Jan 24, 2015
2 parents e7c751e + f95e8d1 commit 8873b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jqueryPluginCommonjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
factory(require('jquery'));
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
Expand Down

0 comments on commit 8873b27

Please sign in to comment.