client/js/renderer/baserepresentation.js
changeset 433 e457ec945e50
parent 396 b51c25ef4292
child 434 0d5998b32a7c
equal deleted inserted replaced
432:24754fe4baaf 433:e457ec945e50
    20                 this._changeBinding = function() {
    20                 this._changeBinding = function() {
    21                     _this.redraw();
    21                     _this.redraw();
    22                 };
    22                 };
    23                 this._removeBinding = function() {
    23                 this._removeBinding = function() {
    24                     _renderer.removeRepresentation(_this);
    24                     _renderer.removeRepresentation(_this);
    25                     _(function() {
    25                     _.defer(function() {
    26                         _renderer.redraw();
    26                         _renderer.redraw();
    27                     }).defer();
    27                     });
    28                 };
    28                 };
    29                 this._selectBinding = function() {
    29                 this._selectBinding = function() {
    30                     _this.select();
    30                     _this.select();
    31                 };
    31                 };
    32                 this._unselectBinding = function() {
    32                 this._unselectBinding = function() {
    74                 this.model.off("remove", this._removeBinding );
    74                 this.model.off("remove", this._removeBinding );
    75                 this.model.off("select", this._selectBinding );
    75                 this.model.off("select", this._selectBinding );
    76                 this.model.off("unselect", this._unselectBinding );
    76                 this.model.off("unselect", this._unselectBinding );
    77             }
    77             }
    78         }
    78         }
    79     });
    79     }).value();
       
    80 //    });
    80 
    81 
    81     /* End of Rkns.Renderer._BaseRepresentation Class */
    82     /* End of Rkns.Renderer._BaseRepresentation Class */
    82 
    83 
    83     return _BaseRepresentation;
    84     return _BaseRepresentation;
    84 
    85