File tree Expand file tree Collapse file tree 1 file changed +16
-19
lines changed
Expand file tree Collapse file tree 1 file changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ module.exports = AmpersandView.extend({
5151 } ,
5252
5353 initialize : function ( opts ) {
54- if ( this . model !== undefined ) {
55- this . listenTo ( this . model , 'change' , this . redraw ) ;
56- }
5754
5855 if ( this . width === 'auto' || this . width === undefined ) {
5956 this . _autoWidth = true ;
@@ -134,23 +131,23 @@ module.exports = AmpersandView.extend({
134131 } ) ;
135132 }
136133 return this ;
137- } ,
138-
139- redraw : function ( ) {
140- this . _chooseDataSource ( ) ;
141- this . data = this . transform ( this . data ) ;
142-
143- this . _measure ( ) ;
144-
145- if ( this . vizFn ) {
146- this . vizFn ( {
147- width : this . width ,
148- height : this . height ,
149- data : this . data ,
150- el : this . el ,
151- } ) ;
152- }
153134 }
135+ // redraw: function() {
136+ // debug('redraw', this.cid);
137+ // this._chooseDataSource();
138+ // this.data = this.transform(this.data);
139+ //
140+ // this._measure();
141+ //
142+ // if (this.vizFn) {
143+ // this.vizFn({
144+ // width: this.width,
145+ // height: this.height,
146+ // data: this.data,
147+ // el: this.el,
148+ // });
149+ // }
150+ // }
154151} ) ;
155152
156153/**
You can’t perform that action at this time.
0 commit comments