systemStart:function(canvas){console.group("Worldloading");//-----------------this.configPatches();this.debuggingExtras();this.clipboardHack();this.replaceWindowMorphIfNotExisiting()//------------------------varworld=null;canvas=canvas||Global.document.getElementById("canvas");varloader=this;if(canvas.height&&canvas.height.baseVal&&canvas.height.baseVal.value<200){//aforcedvalue,somebrowsershaveproblemswithheight=100%canvas.setAttribute("height","800");}varimporter=newImporter();Event.prepareEventSystem(canvas);if(loader.documentHasSerializedMorphs(document)){loader.setupCounter(document);require(Config.modulesBeforeChanges).toRun(function(){varchanges=!Config.skipChanges&&ChangeSet.fromWorld(document.documentElement);changes&&changes.evaluateWorldRequirements();require(Config.modulesBeforeWorldLoad).toRun(function(){changes&&changes.evaluateAllButInitializer();require(Config.modulesOnWorldLoad).toRun(function(){world=importer.loadWorldContents(document);world.displayOnCanvas(canvas);console.log("worldis"+world);changes&&changes.evaluateInitializer();if(Config.showWikiNavigator)loader.showWikiNavigator();console.groupEnd("Worldloading");})})})}else{//Createanemptyworldrequire(Config.modulesBeforeChanges.concat(Config.modulesBeforeWorldLoad).concat(Config.modulesOnWorldLoad)).toRun(function(){world=newWorldMorph(canvas);world.displayOnCanvas(canvas);console.log("createdemptyworld");console.groupEnd("Worldloading");loader.browserSpecificFixes();if(Config.useShadowMorphs)HandMorph.prototype.useShadowMorphs=true;if(!Config.skipAllExamples)newlively.Main.ExampleLoader().populateWorldWithExamples(world);})}},
16nulltruetrue2000000