зеркало из https://github.com/mozilla/popcorn-js.git
Make GML tests work in Opera [#815]
This commit is contained in:
Коммит
435c8d1933
|
@ -163,6 +163,7 @@
|
||||||
target && target.appendChild( options.container );
|
target && target.appendChild( options.container );
|
||||||
|
|
||||||
var scriptReady = function() {
|
var scriptReady = function() {
|
||||||
|
|
||||||
Popcorn.getJSONP( "//000000book.com/data/" + options.gmltag + ".json?callback=", function( data ) {
|
Popcorn.getJSONP( "//000000book.com/data/" + options.gmltag + ".json?callback=", function( data ) {
|
||||||
|
|
||||||
options.pjsInstance = new Processing( options.container, gmlPlayer );
|
options.pjsInstance = new Processing( options.container, gmlPlayer );
|
||||||
|
@ -173,7 +174,7 @@
|
||||||
|
|
||||||
if ( !window.Processing ) {
|
if ( !window.Processing ) {
|
||||||
|
|
||||||
Popcorn.getScript( "//processingjs.org/content/download/processing-js-1.3.0/processing-1.3.0.min.js", scriptReady );
|
Popcorn.getScript( "//cloud.github.com/downloads/processing-js/processing-js/processing-1.3.6.min.js", scriptReady );
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
scriptReady();
|
scriptReady();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче