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)
|
||||
root.plyr = factory(root, document);
|
||||
}
|
||||
}(this, function(window, document) {
|
||||
}(typeof window !== 'undefined' ? window : this, function(window, document) {
|
||||
'use strict';
|
||||
/*global YT,$f*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user