From 31d2733c2a4c363313c018e5d858f0dc0a97d9ff Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 22 Mar 2017 02:51:47 -0400 Subject: [PATCH] Remove unused mode variable - eslint --- modules/behavior/hash.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/behavior/hash.js b/modules/behavior/hash.js index 5c54b69a2..daf5968aa 100644 --- a/modules/behavior/hash.js +++ b/modules/behavior/hash.js @@ -21,8 +21,7 @@ export function behaviorHash(context) { var formatter = function(map) { - var mode = context.mode(), - center = map.center(), + var center = map.center(), zoom = map.zoom(), precision = Math.max(0, Math.ceil(Math.log(zoom) / Math.LN2)), q = _.omit(utilStringQs(window.location.hash.substring(1)), 'comment'),