Ox.Map: remove test

This commit is contained in:
rolux 2012-06-11 23:47:06 +02:00
parent 964923817e
commit dfe2f77615

View file

@ -75,17 +75,6 @@ Ox.Map <f> Basic map object
types <[s]> Types (like "country" or "political") types <[s]> Types (like "country" or "political")
selectplace <!> Fires when a place has been selected or deselected selectplace <!> Fires when a place has been selected or deselected
place <o> Place object place <o> Place object
# EXAMPLES -----------------------------------------------------------------
<script>
// simple
Ox.load('UI', function() {
Ox.Map().appendTo(Ox.UI.$body);
});
</script>
> Ox.Map() === true
false
> Ox.Map() === false
false
@*/ @*/
Ox.Map = function(options, self) { Ox.Map = function(options, self) {
@ -241,7 +230,7 @@ Ox.Map = function(options, self) {
}); });
// HANDLE DEPRECATED OPTIONS // HANDLE DEPRECATED OPTIONS
['statusbar', 'toolbar', 'zoombar'].forEach(function(key) { options && ['statusbar', 'toolbar', 'zoombar'].forEach(function(key) {
if (options[key]) { if (options[key]) {
self.options['show' + Ox.toTitleCase(key)] = options[key]; self.options['show' + Ox.toTitleCase(key)] = options[key];
} }