[Webkit-unassigned] [Bug 55493] SVG Tiny 1.2 onclick handler doesn't fire function defined in onload handler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 10 09:39:05 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55493





--- Comment #2 from Tyler Pham <tyler at disruptiveart.com>  2011-03-10 09:39:05 PST ---
I understand that the resolution is to define the function globally.

I guess, I should rephrase my question:
Why is it that I cannot reuse a function declared locally?

This is no big issue to me but it is out of curiosity. For example using local variables ONLY within the scope of the init function.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list