1
0
Fork 0
forked from 0x2620/oxjs
This commit is contained in:
rolux 2012-05-25 09:46:34 +02:00
commit 147d637b7b
32 changed files with 83 additions and 83 deletions

View file

@ -541,7 +541,7 @@ Ox.Map = function(options, self) {
if (place.bounds.equals(p.bounds)) {
place = p;
exists = true;
Ox.Break()();
Ox.Break();
}
});
if (!exists) {
@ -735,7 +735,7 @@ Ox.Map = function(options, self) {
canContain(bounds, result.geometry.bounds || result.geometry.viewport)
) {
callback(new Ox.MapPlace(parseGeodata(results[i])));
Ox.Break()();
Ox.Break();
}
});
} else {
@ -784,7 +784,7 @@ Ox.Map = function(options, self) {
Ox.forEach(self.options.places, function(place, i) {
if (place.name == name) {
position = i;
Ox.Break()();
Ox.Break();
}
});
return position;
@ -800,7 +800,7 @@ Ox.Map = function(options, self) {
Ox.forEach(self.places, function(place) {
if (place.selected) {
id = place.id;
Ox.Break()();
Ox.Break();
}
});
}
@ -1035,7 +1035,7 @@ Ox.Map = function(options, self) {
Ox.forEach(components, function(component) {
if (component.types.indexOf('country') > -1) {
countryCode = component.short_name;
Ox.Break()();
Ox.Break();
}
});
return countryCode;
@ -1074,7 +1074,7 @@ Ox.Map = function(options, self) {
var ret;
Ox.forEach(types, function(v) {
ret = Ox.startsWith(v, type);
ret && Ox.Break()();
ret && Ox.Break();
});
return ret;
}
@ -1082,10 +1082,10 @@ Ox.Map = function(options, self) {
Ox.forEach(values, function(value) {
if (find(value)) {
type = key;
Ox.Break()();
Ox.Break();
}
});
type != 'feature' && Ox.Break()();
type != 'feature' && Ox.Break();
});
return type;
}
@ -1241,7 +1241,7 @@ Ox.Map = function(options, self) {
.css({
width: (scaleWidth - 16) + 'px'
})
Ox.Break()();
Ox.Break();
}
});
}