Remove unused mode variable - eslint

This commit is contained in:
Bryan Housel
2017-03-22 02:51:47 -04:00
parent 48d1b0b28e
commit 31d2733c2a
+1 -2
View File
@@ -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'),