@@ -16,7 +16,7 @@ function syncDataFiles(dbname, baseurl)
1616 // once we're shipping, and it defeats Cloudflare cacheing, causing it
1717 // to abuse Amazon S3, etc.)
1818 var urlrandomizerarg = '' ;
19- if ( false ) {
19+ if ( true ) {
2020 urlrandomizerarg = "?nocache=" + ( Date . now ( ) / 1000 | 0 ) ;
2121 }
2222
@@ -398,9 +398,9 @@ document.getElementById('borderdiv').style.border = '0px';
398398//document.getElementById('progressdiv').style.display = 'none';
399399document . getElementById ( 'output' ) . style . display = 'none' ;
400400
401- // if (!window.parent.window.gtk) {
402- // window.parent.window.gtk = {};
403- // }
401+ if ( ! window . parent . window . gtk ) {
402+ window . parent . window . gtk = { } ;
403+ }
404404
405405window . parent . window . gtk . saveMain = function ( text ) {
406406 FS . writeFile ( 'app/main.rb' , text ) ;
@@ -545,9 +545,9 @@ var Module = {
545545 div . removeEventListener ( 'click' , Module . clickToPlayListener ) ;
546546 document . body . removeChild ( div ) ;
547547 }
548- // if (window.parent.window.gtk.starting) {
549- // window.parent.window.gtk.starting();
550- // }
548+ if ( window . parent . window . gtk . starting ) {
549+ window . parent . window . gtk . starting ( ) ;
550+ }
551551
552552 startGame ( ) ; // go go go!
553553 } ,
0 commit comments