smashing errors caused by .forEach

This commit is contained in:
Matthias Bartelmeß 2012-03-13 22:44:33 +01:00
parent b28bfe8e31
commit f34f0585bb
4 changed files with 11 additions and 11 deletions

View file

@ -1642,7 +1642,7 @@ function Ace2Inner(){
// update the representation
p.mark("splice");
forEach(splicesToDo, function(splice)
splicesToDo.forEach(function(splice)
{
doIncorpLineSplice(splice[0], splice[1], splice[2], splice[3], splice[4]);
});
@ -2142,7 +2142,7 @@ function Ace2Inner(){
return entry.domInfo;
}), isTimeUp);
infoStructs.forEach(function(k)
keysToDelete.forEach(function(k)
{
var n = doc.getElementById(k);
n.parentNode.removeChild(n);