Remove use of goog.object.remove

This commit is contained in:
Frederic Junod
2015-09-22 12:03:52 +02:00
parent 9f57e57400
commit b128675e60
8 changed files with 14 additions and 16 deletions

View File

@@ -118,7 +118,7 @@ ol.structs.RBush.prototype.remove = function(value) {
// get the object in which the value was wrapped when adding to the
// internal rbush. then use that object to do the removal.
var item = this.items_[uid];
goog.object.remove(this.items_, uid);
delete this.items_[uid];
return this.rbush_.remove(item) !== null;
};