Remove use of goog.object.get()

This commit is contained in:
Tim Schaub
2016-02-03 21:37:26 -07:00
parent 8b9c393820
commit f38d8bf824
3 changed files with 6 additions and 12 deletions
+1 -3
View File
@@ -3,7 +3,6 @@ goog.provide('ol.style.AtlasManager');
goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.object');
goog.require('ol');
@@ -310,8 +309,7 @@ ol.style.Atlas = function(size, space) {
* @return {?ol.style.AtlasInfo} The atlas info.
*/
ol.style.Atlas.prototype.get = function(id) {
return /** @type {?ol.style.AtlasInfo} */ (
goog.object.get(this.entries_, id, null));
return this.entries_[id] || null;
};