forked from 0x2620/oxjs
remove Ox.Break
This commit is contained in:
parent
4139e171ca
commit
bda90f6b6b
44 changed files with 152 additions and 165 deletions
|
|
@ -117,7 +117,7 @@ Ox.MapEditor = function(options, self) {
|
|||
if (data.area >= area) {
|
||||
iconSize = size;
|
||||
} else {
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
return data.type
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ Ox.MapMarker = function(options) {
|
|||
if (that.place.area >= area) {
|
||||
that.size = size;
|
||||
} else {
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
} else if (Ox.isNumber(size)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue