This commit is contained in:
Sam Potts 2016-08-06 11:09:55 +10:00
parent b578fb4840
commit 58e9b02405

View File

@ -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);