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
|
|
@ -87,10 +87,10 @@ Ox.load('Image', function() {
|
|||
parts[0].push({lat: lat, lng: lng[0]});
|
||||
parts[1].unshift({lat: lat, lng: lng[1]});
|
||||
/*
|
||||
Ox.Break() breaks the loop. Again, note that this assumes no
|
||||
path will cross the edge more than once.
|
||||
Returning `false` breaks the loop. Again, note that this
|
||||
assumes no path will cross the edge more than once.
|
||||
*/
|
||||
Ox.Break();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue