mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
3e7014db2b
This will allow support-testing to work on older browsers so that application developers can still load the library and query for support to show an appropriate error message. To accomplish this, we avoid load-time uses of Function.bind, avoid certain polyfills if modern types are not available, and compile down to ES3 to avoid errors caused by use of the reserved word "catch" on Promises. This has been tested back to IE6, Safari 5.1, iOS 6.0, Firefox 6, Chrome 15, and Opera 16. Change-Id: I9deed106a7736758e04452ef85bae40f37c6fe62
7 lines
255 B
JavaScript
7 lines
255 B
JavaScript
(function(){var g={};
|
|
(function(window){%output%}.call(g,this));
|
|
if (typeof(module)!="undefined"&&module.exports)module.exports=g.shaka;
|
|
else if (typeof(define)!="undefined" && define.amd)define(function(){return g.shaka});
|
|
else this.shaka=g.shaka;
|
|
})();
|