diff options
Diffstat (limited to 'chrome/renderer/resources/event_bindings.js')
-rw-r--r-- | chrome/renderer/resources/event_bindings.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/renderer/resources/event_bindings.js b/chrome/renderer/resources/event_bindings.js index 4fa1309..f2a82d9 100644 --- a/chrome/renderer/resources/event_bindings.js +++ b/chrome/renderer/resources/event_bindings.js @@ -9,14 +9,14 @@ var chrome = chrome || {}; native function DetachEvent(eventName); var chromeHidden = GetChromeHidden(); - + // Local implementation of JSON.parse & JSON.stringify that protect us // from being clobbered by an extension. chromeHidden.JSON = new (function() { - const $Object = Object; - const $Array = Array; - const $jsonStringify = JSON.stringify; - const $jsonParse = JSON.parse; + var $Object = Object; + var $Array = Array; + var $jsonStringify = JSON.stringify; + var $jsonParse = JSON.parse; this.stringify = function(thing) { var customizedObjectToJSON = $Object.prototype.toJSON; |