Remove use of goog.bind and use ES5 .bind
This commit is contained in:
@@ -80,7 +80,7 @@ ol.ImageCanvas.prototype.load = function() {
|
||||
goog.asserts.assert(this.loader_, 'this.loader_ must be set');
|
||||
this.state = ol.ImageState.LOADING;
|
||||
this.changed();
|
||||
this.loader_(goog.bind(this.handleLoad_, this));
|
||||
this.loader_(this.handleLoad_.bind(this));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user