Merge pull request #154 from marvinhagemeister/fix_window_usage
Get the proper reference to window on initialization.
This commit is contained in:
commit
dae5fb9785
@ -21,7 +21,7 @@
|
|||||||
// Browser globals (root is window)
|
// Browser globals (root is window)
|
||||||
root.plyr = factory(root, document);
|
root.plyr = factory(root, document);
|
||||||
}
|
}
|
||||||
}(this, function(window, document) {
|
}(typeof window !== 'undefined' ? window : this, function(window, document) {
|
||||||
'use strict';
|
'use strict';
|
||||||
/*global YT,$f*/
|
/*global YT,$f*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user