small refactor + fix brackets
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / documentElement.js
index a1965cd..dcf05b2 100644 (file)
@@ -43,6 +43,7 @@ $.extend(DocumentElement.prototype, {
                     this.state[key] = changes[key] = toUpdate[key];
                 }
             }.bind(this));
                     this.state[key] = changes[key] = toUpdate[key];
                 }
             }.bind(this));
+        // console.log(changes);
         if(_.isFunction(this.onStateChange)) {
             this.onStateChange(changes);
             if(_.isBoolean(changes.active)) {
         if(_.isFunction(this.onStateChange)) {
             this.onStateChange(changes);
             if(_.isBoolean(changes.active)) {