mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
5f3a153913
The new wrapper has been tested using: * commonJS in node.js * requireJS in node.js * requireJS in a browser * directly in a browser This also corrects the exports for commonJS to omit the "shaka" namespace. For example, you now get "module.exports.player" instead of "module.exports.shaka.player". Change-Id: Idf6b05d7d667aded925818001f730747ceeae2e9
7 lines
243 B
JavaScript
7 lines
243 B
JavaScript
(function(){var g={};
|
|
(function(window){%output%}.bind(g,this))();
|
|
if (typeof(module)!="undefined"&&module.exports)module.exports=g.shaka;
|
|
else if (typeof(define)!="undefined")define(function(){return g.shaka});
|
|
else this.shaka=g.shaka;
|
|
})();
|