missing var's, p=jorix (thx), r=me (closes #2960)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10951 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2010-12-06 20:15:15 +00:00
parent b125e045d1
commit 831420aac2
6 changed files with 11 additions and 11 deletions

View File

@@ -162,7 +162,7 @@ OpenLayers.Handler.Polygon = OpenLayers.Class(OpenLayers.Handler.Path, {
// ensure that new ring doesn't contain any other rings
var target;
outer: for (var i=rings.length-2; i>0; --i) {
points = rings[i].components;
var points = rings[i].components;
for (var j=0, jj=points.length; j<jj; ++j) {
if (ring.containsPoint(points[j])) {
modified = false;