Show
Ignore:
Timestamp:
02/09/06 16:37:49 (5 years ago)
Author:
bob@…
Message:

probably fix #52

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mochikit/trunk/MochiKit/DOM.js

    r608 r611  
    451451            ) 
    452452        ]; 
    453         var iextend = MochiKit.Iter.iextend; 
     453        var forEach = MochiKit.Iter.forEach; 
    454454        while (nodeStack.length) { 
    455455            var n = nodeStack.shift(); 
     
    459459                elem.appendChild(n); 
    460460            } else { 
    461                 iextend(nodeStack, n); 
     461                forEach(n, nodeStack.unshift, nodeStack); 
    462462            } 
    463463        }