Tidying up
This commit is contained in:
parent
7d487553b2
commit
38f554b480
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -13,15 +13,15 @@
|
|||||||
|
|
||||||
if (typeof define === 'function' && define.amd) {
|
if (typeof define === 'function' && define.amd) {
|
||||||
// AMD
|
// AMD
|
||||||
define(null, factory);
|
define(null, function() { factory(root, document) });
|
||||||
} else if (typeof module === 'object') {
|
} else if (typeof module === 'object') {
|
||||||
// Node, CommonJS-like
|
// Node, CommonJS-like
|
||||||
module.exports = factory();
|
module.exports = factory(root, document);
|
||||||
} else {
|
} else {
|
||||||
// Browser globals (root is window)
|
// Browser globals (root is window)
|
||||||
root.plyr = factory();
|
root.plyr = factory(root, document);
|
||||||
}
|
}
|
||||||
}(this, function() {
|
}(this, function(window, document) {
|
||||||
'use strict';
|
'use strict';
|
||||||
/*global YT,$f*/
|
/*global YT,$f*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user