Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Prototype: Core
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Proposal: Make bound (curried, delayed...) functions look nicely in Web Inspector "Event Listeners" pane
5 views
Skip to first unread message
Nikita Vasilyev
unread,
Jun 4, 2010, 12:29:08 PM
6/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prototype: Core
https://prototype.lighthouseapp.com/projects/8886/tickets/1069-make-bound-functions-look-nicely-in-web-inspector-event-listeners-pane
The problem is, as Tobie pointed, easily distinguish a bound function
from a non bound function.
In the internal Web Inspector's code we decided to add "bound: "
prefix.
http://trac.webkit.org/changeset/60682/trunk/WebCore/inspector/front-end/utilities.js
I think it's not a option for Prototype. At this case, bound function
could be evaluated with errors.
Another option could be "/*bound*/ " prefix.
What do you think?
Tobie Langel
unread,
Jun 7, 2010, 9:54:23 AM
6/7/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prototype: Core
> I think it's not a option for Prototype. At this case, bound function
> could be evaluated with errors.
Hadn't thought about that. Thanks for pointing it out!
Reply all
Reply to author
Forward
0 new messages