Skip to content

Commit

Permalink
Ooops. These were ===, not ==
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Nov 11, 2011
1 parent ef52f3a commit 75d4037
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions winxedst1.winxed
Expand Up @@ -66,10 +66,10 @@ function transform(src, dest, func)
return dest;
}

function find(src, value)
function find_same(src, value)
{
for (var item in src)
if (item == value)
if (item === value)
return item;
return null;
}
Expand Down Expand Up @@ -9180,7 +9180,7 @@ class FunctionBase : BlockStatement
self.usednamespaces = [ ns ];
}
else {
if (find(usedns, ns) != null)
if (find_same(usedns, ns) != null)
return;
push(usedns, ns);
}
Expand Down Expand Up @@ -10352,7 +10352,7 @@ class NamespaceBase : VarContainer
if (nsused === self)
return;
var usednamespaces = self.usednamespaces;
if (find(usednamespaces, nsused) != null)
if (find_same(usednamespaces, nsused) != null)
return;
push(usednamespaces, nsused);
}
Expand Down

0 comments on commit 75d4037

Please sign in to comment.