Permalink
Browse files

Undropped the brackets

  • Loading branch information...
1 parent e28f141 commit 6150075aa9830351b5e85c85da21c67f06261eb3 @migurski migurski committed Feb 20, 2012
Showing with 8 additions and 16 deletions.
  1. +4 −8 modestmaps.js
  2. +4 −8 src/convenience.js
View
@@ -2899,10 +2899,8 @@ var MM = com.modestmaps = {
// * `location` (required MM.Location)
// Location for map to show
// * `zoom` (required number)
- MM.mapByCenterZoom = function(parent, provider, location, zoom)
- {
- if (typeof provider == 'string')
- {
+ MM.mapByCenterZoom = function(parent, provider, location, zoom) {
+ if(typeof provider == 'string') {
provider = new MM.TemplatedMapProvider(provider);
}
@@ -2924,10 +2922,8 @@ var MM = com.modestmaps = {
// Location of one map corner
// * `locationB` (required MM.Location)
// Location of other map corner
- MM.mapByExtent = function(parent, provider, locationA, locationB)
- {
- if (typeof provider == 'string')
- {
+ MM.mapByExtent = function(parent, provider, locationA, locationB) {
+ if(typeof provider == 'string') {
provider = new MM.TemplatedMapProvider(provider);
}
View
@@ -7,10 +7,8 @@
// * `location` (required MM.Location)
// Location for map to show
// * `zoom` (required number)
- MM.mapByCenterZoom = function(parent, provider, location, zoom)
- {
- if (typeof provider == 'string')
- {
+ MM.mapByCenterZoom = function(parent, provider, location, zoom) {
+ if(typeof provider == 'string') {
provider = new MM.TemplatedMapProvider(provider);
}
@@ -32,10 +30,8 @@
// Location of one map corner
// * `locationB` (required MM.Location)
// Location of other map corner
- MM.mapByExtent = function(parent, provider, locationA, locationB)
- {
- if (typeof provider == 'string')
- {
+ MM.mapByExtent = function(parent, provider, locationA, locationB) {
+ if(typeof provider == 'string') {
provider = new MM.TemplatedMapProvider(provider);
}

0 comments on commit 6150075

Please sign in to comment.