glow.events.fire treat the first parameter like glow.events.addListener
Reported by Stephen Elson | July 17th, 2009 @ 01:40 PM | in 1.6
If you pass addListener a string, it treats it as a CSS selector and gets a NodeList to use.
If you pass addListener a NodeList or CSS selector, it listens for the event on each matching element.
However, glow.events.fire does neither of the above. It tries to fire the event on the string or NodeList object.
It should fire the event on each matching element.
Comments and changes to this ticket
-
Stephen Elson July 17th, 2009 @ 01:47 PM
- Milestone changed from 1.6 to 1.7
-
Tom Maslen July 17th, 2009 @ 03:29 PM
- State changed from new to open
- Assigned user set to Tom Maslen
-
Tom Maslen July 17th, 2009 @ 03:29 PM
- Milestone changed from 1.7 to 1.6
-
Stephen Elson July 17th, 2009 @ 06:59 PM
- Tag changed from enhancement to enhancement, events
-
Tom Maslen July 20th, 2009 @ 01:31 PM
- State changed from open to review
-
Stephen Elson July 20th, 2009 @ 02:04 PM
(from [ad173854079bfe177330f7273cf93629bdada94b]) Updated glow.events.fire to handle DOM node, nodeList and string selectors.
[#21 state:review] http://github.com/glow/glow1/commit/ad173854079bfe177330f7273cf9362...
-
Jake Archibald August 4th, 2009 @ 09:13 AM
- State changed from review to open
-
Jake Archibald August 5th, 2009 @ 02:44 PM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library
People watching this ticket
Tags
Referenced by
- 21 glow.events.fire treat the first parameter like glow.events.addListener [#21 state:review] http://github.com/glow/glow1/commit/a...