Merge pull request #154 from marvinhagemeister/fix_window_usage

Get the proper reference to window on initialization.
This commit is contained in:
Sam Potts 2016-01-28 09:19:25 +11:00
commit dae5fb9785

View File

@ -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*/