Fix going down prototype chain
Fix going down prototype chain

This fixed the a.undo is not a function error. The for loop was going down into  the array's prototype chain.
albohlabs/svg.js,dotnetCarpenter/svg.js,albohlabs/svg.js,dotnetCarpenter/svg.js