Skip to content

Commit

Permalink
Merge pull request #360 from abhishekdev/feature/es6-module
Browse files Browse the repository at this point in the history
Register to globally available version of jQuery
  • Loading branch information
illuusio authored Jun 11, 2018
2 parents 21332c9 + 47631bd commit d752d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/jquery.jscrollpane.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory(require('jquery'));
module.exports = factory(jQuery || require('jquery'));
} else {
// Browser globals
factory(jQuery);
Expand Down
Loading

0 comments on commit d752d57

Please sign in to comment.