From ecea55ba00c821eea2889b188e8e390cf642d062 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Tue, 5 Jul 2016 21:44:00 -0400 Subject: [PATCH] Const is verboten --- js/lib/id/index.js | 2 +- modules/util/jxon.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/lib/id/index.js b/js/lib/id/index.js index 87556ac69..aedeaea74 100644 --- a/js/lib/id/index.js +++ b/js/lib/id/index.js @@ -4191,7 +4191,7 @@ var osmAuth = (index && typeof index === 'object' && 'default' in index ? index['default'] : index); - const JXON = new (function () { + var JXON = new (function () { var sValueProp = 'keyValue', sAttributesProp = 'keyAttributes', sAttrPref = '@', /* you can customize these values */ aCache = [], rIsNull = /^\s*$/, rIsBool = /^(?:true|false)$/i; diff --git a/modules/util/jxon.js b/modules/util/jxon.js index 14523d3b1..714d06d9d 100644 --- a/modules/util/jxon.js +++ b/modules/util/jxon.js @@ -1,4 +1,4 @@ -export const JXON = new (function () { +export var JXON = new (function () { var sValueProp = 'keyValue', sAttributesProp = 'keyAttributes', sAttrPref = '@', /* you can customize these values */ aCache = [], rIsNull = /^\s*$/, rIsBool = /^(?:true|false)$/i;