client/js/renderer/baserepresentation.js
changeset 435 e529b633c339
parent 434 0d5998b32a7c
equal deleted inserted replaced
434:0d5998b32a7c 435:e529b633c339
    16             this.options = _renderer.renkan.options;
    16             this.options = _renderer.renkan.options;
    17             this.model = _model;
    17             this.model = _model;
    18             if (this.model) {
    18             if (this.model) {
    19                 var _this = this;
    19                 var _this = this;
    20                 this._changeBinding = function() {
    20                 this._changeBinding = function() {
    21                     _this.redraw();
    21                     _this.redraw({change: true});
    22                 };
    22                 };
    23                 this._removeBinding = function() {
    23                 this._removeBinding = function() {
    24                     _renderer.removeRepresentation(_this);
    24                     _renderer.removeRepresentation(_this);
    25                     _.defer(function() {
    25                     _.defer(function() {
    26                         _renderer.redraw();
    26                         _renderer.redraw();