Skip to content

Commit

Permalink
Merge pull request #369 from Nommyde/patch-1
Browse files Browse the repository at this point in the history
fix illegal AMD definition
  • Loading branch information
IonDen committed Apr 27, 2016
2 parents 2ac7412 + cefa818 commit 416618b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/ion.rangeSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory(jQuery, document, window, navigator));
define(['jquery'], function ($) {
factory($, document, window, navigator);
});
} else {
factory(jQuery, document, window, navigator);
}
Expand Down

0 comments on commit 416618b

Please sign in to comment.