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({
51
51
} ,
52
52
53
53
initialize : function ( opts ) {
54
- if ( this . model !== undefined ) {
55
- this . listenTo ( this . model , 'change' , this . redraw ) ;
56
- }
57
54
58
55
if ( this . width === 'auto' || this . width === undefined ) {
59
56
this . _autoWidth = true ;
@@ -134,23 +131,23 @@ module.exports = AmpersandView.extend({
134
131
} ) ;
135
132
}
136
133
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
- }
153
134
}
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
+ // }
154
151
} ) ;
155
152
156
153
/**
You can’t perform that action at this time.
0 commit comments