diff --git a/src/js/plyr.js b/src/js/plyr.js index fc49a123..f01866bd 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -16,7 +16,7 @@ module.exports = factory(root, document); } else if (typeof define === 'function' && define.amd) { // AMD - define([], function () { return factory(root, document); }); + define(null, function() { factory(root, document) }); } else { // Browser globals (root is window) root.plyr = factory(root, document);