Use toString() instead of + ''

This commit is contained in:
Tom Payne
2014-01-02 22:14:02 +01:00
parent 94c22055be
commit 46267a9059
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -540,7 +540,7 @@ ol.structs.RBush.prototype.getExtent = function(opt_extent) {
*/
ol.structs.RBush.prototype.getKey_ = function(value) {
goog.asserts.assert(goog.isObject(value));
return goog.getUid(value) + '';
return goog.getUid(value).toString();
};