client/js/renderer/baserepresentation.js
changeset 433 e457ec945e50
parent 396 b51c25ef4292
child 434 0d5998b32a7c
--- a/client/js/renderer/baserepresentation.js	Fri Apr 24 18:02:09 2015 +0200
+++ b/client/js/renderer/baserepresentation.js	Sat Apr 25 04:13:53 2015 +0200
@@ -22,9 +22,9 @@
                 };
                 this._removeBinding = function() {
                     _renderer.removeRepresentation(_this);
-                    _(function() {
+                    _.defer(function() {
                         _renderer.redraw();
-                    }).defer();
+                    });
                 };
                 this._selectBinding = function() {
                     _this.select();
@@ -76,7 +76,8 @@
                 this.model.off("unselect", this._unselectBinding );
             }
         }
-    });
+    }).value();
+//    });
 
     /* End of Rkns.Renderer._BaseRepresentation Class */