diff --git a/source/Ox/js/Geo.js b/source/Ox/js/Geo.js index fa1a9217..2ff65d2e 100644 --- a/source/Ox/js/Geo.js +++ b/source/Ox/js/Geo.js @@ -266,10 +266,10 @@ Ox.forEach(areas[0], function(area0) { ret = contains(area0, area1); // Break if the outer part contains the inner part - ret && Ox.Break()(); + ret && Ox.Break(); }); // Break if no outer part contains the inner part - !ret && Ox.Break()(); + !ret && Ox.Break(); }); return ret; }; @@ -327,7 +327,7 @@ : Ox.joinAreas(intersections); } if (ret === null) { - Ox.Break()(); + Ox.Break(); } else { ret = splitArea(ret); } @@ -378,7 +378,7 @@ Ox.forEach(gaps, function(gap, i) { if (Ox.containsArea(gap, area)) { ret = i; - Ox.Break()(); + Ox.Break(); } }); return ret;