From 3974bcf41b6e77d96f376ac229be1c82ed806e3e Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 19 Nov 2014 00:17:50 -0500 Subject: [PATCH] Move editable() to be with the other map things --- js/id/id.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/id/id.js b/js/id/id.js index 982673a42..24c276ed5 100644 --- a/js/id/id.js +++ b/js/id/id.js @@ -194,9 +194,6 @@ window.iD = function () { }); }; - context.editable = function() { - return map.editable(); - }; /* Behaviors */ context.install = function(behavior) { @@ -228,6 +225,7 @@ window.iD = function () { context.map = function() { return map; }; context.layers = function() { return map.layers; }; context.surface = function() { return map.surface; }; + context.editable = function() { return map.editable(); }; context.mouse = map.mouse; context.extent = map.extent; context.pan = map.pan;