This note is mostly to help other people searching for answers.

I was doing some prototypish calling on a small two dimensional array
(10 x 5).

rows.each(function(row){ row.each(function(cell){ /* do stuff
*/ }) });

Fine in IE fine in FF. Fails silently on webkit based browsers
(Chrome, Safari). I tried repeating the process in the Chrome console
and received the error:

RangeError: Maximum call stack size exceeded

After unfolding the loops to standard for statements everything worked
just fine.

Credit to <tfluehr> on IRC #prototype for helping me out with this one
and for this link:

http://novemberborn.net/javascript/callstack-size (Mark Wubben)

It goes into some details on the call stacks for current browsers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to