Commit 484331d1 authored by campaign's avatar campaign

Merge remote-tracking branch 'origin/dev' into dev

parents 73e2d84d 9298a20b
...@@ -51,7 +51,6 @@ KityMinder.registerModule( "HistoryModule", function () { ...@@ -51,7 +51,6 @@ KityMinder.registerModule( "HistoryModule", function () {
}, },
restore: function () { restore: function () {
var scene = this.list[ this.index ]; var scene = this.list[ this.index ];
debugger;
this.km.setRoot( scene.cloneData() ); this.km.setRoot( scene.cloneData() );
this.km.initStyle(); this.km.initStyle();
this.update(); this.update();
...@@ -60,7 +59,6 @@ KityMinder.registerModule( "HistoryModule", function () { ...@@ -60,7 +59,6 @@ KityMinder.registerModule( "HistoryModule", function () {
return new Scene( this.km.getRoot() ) return new Scene( this.km.getRoot() )
}, },
saveScene: function () { saveScene: function () {
debugger;
var currentScene = this.getScene(); var currentScene = this.getScene();
var lastScene = this.list[ this.index ]; var lastScene = this.list[ this.index ];
if ( lastScene && lastScene.equals( currentScene ) ) { if ( lastScene && lastScene.equals( currentScene ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment