Open silverspell opened 11 years ago
paper.forEach(function(elem) { elem.toBack(); })
generates infinite loop.
Example:
var paper = new Raphael("paper", "100%", "100%"); paper.rect(0, 0, 50, 50); paper.rect(0, 0, 150, 150); paper.rect(0, 0, 250, 250); paper.rect(0, 0, 350, 350); paper.forEach(function(elem) { elem.toBack(); });
An extremely creative and interesting issue, I must say! :-)
generates infinite loop.
Example: