Always use goog.json.parse and set goog.json.USE_NATIVE_JSON=true

This commit is contained in:
Frederic Junod
2014-07-02 15:56:48 +02:00
parent cf85079d22
commit 190db934ee
5 changed files with 4 additions and 15 deletions
-8
View File
@@ -89,14 +89,6 @@ ol.BrowserFeature.HAS_DOM = ol.ENABLE_DOM;
ol.BrowserFeature.HAS_GEOLOCATION = 'geolocation' in goog.global.navigator;
/**
* @const
* @type {boolean}
*/
ol.BrowserFeature.HAS_JSON_PARSE =
'JSON' in goog.global && 'parse' in goog.global.JSON;
/**
* True if browser supports touch events.
* @const