[Webkit-unassigned] [Bug 75454] Web Inspector: Add utility changes for Spectrum colorpicker
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 3 07:23:29 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=75454
--- Comment #3 from Brian Grinstead <briangrinstead at gmail.com> 2012-01-03 07:23:28 PST ---
(In reply to comment #2)
> > Source/WebCore/inspector/front-end/utilities.js:916
> > +function stopPropagation(e) {
>
> Not sure if this is too useful. Pavel can comment on this
This is here because I was told to not use anonymous functions. I had a need to stopPropagation on an event and I think it makes sense to have it as a utility function. For example, this same function could be used inside of StylesSidebarPane.js instead of _handleSelectorClick. I could always move this into a more local scope for the spectrum feature if needed.
--
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