From dfe2f77615a83fff6d54322bb79ac5d627e4e66e Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Jun 2012 23:47:06 +0200 Subject: [PATCH] Ox.Map: remove test --- source/Ox.UI/js/Map/Map.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index 1bef97cb..079a298b 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -75,17 +75,6 @@ Ox.Map Basic map object types <[s]> Types (like "country" or "political") selectplace Fires when a place has been selected or deselected place Place object - # EXAMPLES ----------------------------------------------------------------- - - > Ox.Map() === true - false - > Ox.Map() === false - false @*/ Ox.Map = function(options, self) { @@ -241,7 +230,7 @@ Ox.Map = function(options, self) { }); // HANDLE DEPRECATED OPTIONS - ['statusbar', 'toolbar', 'zoombar'].forEach(function(key) { + options && ['statusbar', 'toolbar', 'zoombar'].forEach(function(key) { if (options[key]) { self.options['show' + Ox.toTitleCase(key)] = options[key]; }