kopia lustrzana https://github.com/backface/turtlestitch
fix accidental space removal
rodzic
3a7a6e8ad9
commit
c3172f43bd
|
@ -82,7 +82,7 @@ IDE_Morph.prototype.getCurrentScene = function () {
|
|||
IDE_Morph.prototype.switchTo = function (sceneName) {
|
||||
var scene = detect(this.scenes.itemsArray(), scn => scn.name === sceneName);
|
||||
if (scene === null) {
|
||||
throw new Error('cannot find scene ' + sceneName);
|
||||
throw new Error('cannot find scene ' + sceneName);
|
||||
}
|
||||
this.switchToScene(scene);
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue