diff --git a/src/internal-packages/query/lib/store/index.jsx b/src/internal-packages/query/lib/store/index.jsx index eaa3b52c850..87deedd7968 100644 --- a/src/internal-packages/query/lib/store/index.jsx +++ b/src/internal-packages/query/lib/store/index.jsx @@ -359,7 +359,7 @@ const QueryStore = Reflux.createStore({ }, storeDidUpdate(prevState) { - debug('query store changed from %j to %j', prevState, this.state); + debug('query store changed from', prevState, 'to', this.state); } }); diff --git a/src/internal-packages/schema/lib/d3/coordinates.js b/src/internal-packages/schema/lib/d3/coordinates.js index e442e3f7400..a642d5d3967 100644 --- a/src/internal-packages/schema/lib/d3/coordinates.js +++ b/src/internal-packages/schema/lib/d3/coordinates.js @@ -55,7 +55,7 @@ const minicharts_d3fns_geo = function() { // const project = d3.geo.mercator(); // const unproject = d3.geo.mercator().invert; - const update = null; + let update = null; function querybuilder() { if (circleCenter && circleOuter) { diff --git a/src/internal-packages/schema/lib/d3/d3-tip.js b/src/internal-packages/schema/lib/d3/d3-tip.js index 9c9cf52d8c1..ebe140c900e 100644 --- a/src/internal-packages/schema/lib/d3/d3-tip.js +++ b/src/internal-packages/schema/lib/d3/d3-tip.js @@ -20,10 +20,10 @@ // // Returns a tip return function() { - const direction = d3_tip_direction; - const offset = d3_tip_offset; - const html = d3_tip_html; - const node = initNode(); + let direction = d3_tip_direction; + let offset = d3_tip_offset; + let node = initNode(); + let html = d3_tip_html; let svg = null; let point = null; let target = null; @@ -50,11 +50,12 @@ poffset = offset.apply(this, args), dir = direction.apply(this, args), nodel = getNodeEl(), - i = directions.length, - coords = null, scrollTop = document.documentElement.scrollTop || document.body.scrollTop, scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft; + let i = directions.length, + coords = null; + nodel.html(content) .style({ opacity: 1, diff --git a/src/internal-packages/schema/lib/store/index.jsx b/src/internal-packages/schema/lib/store/index.jsx index 041e15e79dd..b21ede1919b 100644 --- a/src/internal-packages/schema/lib/store/index.jsx +++ b/src/internal-packages/schema/lib/store/index.jsx @@ -195,7 +195,7 @@ const SchemaStore = Reflux.createStore({ }, storeDidUpdate(prevState) { - debug('schema store changed from %j to %j', prevState, this.state); + debug('schema store changed from', prevState, 'to', this.state); } }); diff --git a/src/internal-packages/status/lib/store/index.jsx b/src/internal-packages/status/lib/store/index.jsx index 2740cb2b0fa..3124a0d7007 100644 --- a/src/internal-packages/status/lib/store/index.jsx +++ b/src/internal-packages/status/lib/store/index.jsx @@ -196,7 +196,7 @@ const StatusStore = Reflux.createStore({ }, storeDidUpdate(prevState) { - debug('status store changed from %j to %j', prevState, this.state); + debug('status store changed from', prevState, 'to', this.state); } });