On 11/15/06, Kevin <[EMAIL PROTECTED]> wrote:
>
> Thanks Bob and everyone involved, I LOVE MochiKit!
>
> But I'm also new to js and feeling kinda dimwitted...
>
> I'm trying to track down a crash in Safari that happens
> when I call Iter.list -- but debugging lines I put into
> list have no effect so I'm stuck. What am I doing wrong?
>
> Here's the code:
>
> /** @id MochiKit.Iter.list */
> list: function (iterable) {
> throw new TypeError("debug code permitted?");
> ...the rest of the list function untouched...
> },
>
> It crashes on this:
>
> try {
> var nodes = list(dom.childNodes);
> } catch (e) {
> log(e);
> }
>
> And it crashes without throwing an error. The DOM is:
>
> <div id='bunny'>
> <span>a cute bunny rabbit</span>
> </div>
>
> Mozilla does not crash but it also doesn't throw the error.
> Weird. Must be something in my code that's causing the crash
> but I'd rather track down more info on the crash before
> bothering the list with my horrible cruft.
Can we get a full reproducible example so that this can be
investigated? Also I'm going to need to know if this is PPC or Intel
(they have different crashes) and what version of Safari and OS X you
are using.
-bob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---