Skip to content

Commit

Permalink
fork fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFacc authored Jun 7, 2021
1 parent 8928475 commit 219b444
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scrollmagic/uncompressed/plugins/debug.addIndicators.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
* To have access to this extension, please include `plugins/debug.addIndicators.js`.
* @mixin debug.addIndicators
*/
// https://github.com/janpaepke/ScrollMagic/issues/665#issuecomment-558239420
import ScrollMagic from "scrollmagic";

(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
Expand All @@ -27,7 +30,7 @@
factory(require('scrollmagic'));
} else {
// no browser global export needed, just execute
factory(root.ScrollMagic || (root.jQuery && root.jQuery.ScrollMagic));
factory(ScrollMagic || (jQuery && jQuery.ScrollMagic));
}
}(this, function (ScrollMagic) {
"use strict";
Expand Down Expand Up @@ -677,4 +680,4 @@
},
};

}));
}));

0 comments on commit 219b444

Please sign in to comment.