https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/810-fix-eventstopobserving-to-return-element

On 25 сен, 19:17, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> Hi,
>
> > I didn't find the other way to report bugs in prototype.js
>
> It's described here:http://prototypejs.org/contribute
>
> > i am quite sure it was supposed to be:
>
> >     if (!responders) return element;
>
> Indeed.  Well-spotted!
> --
> T.J. Crowder
> tj / crowder software / comwww.crowdersoftware.com
>
> On Sep 25, 1:36 pm, Rafał Michalski <royalt...@gmail.com> wrote:
>
>
>
> > prototype.js  - 1.6.1
>
> > I think there is a bug in function stopObserving
>
> > on line: 4571 there is:
>
> >     if (!responders) return;
>
> > i am quite sure it was supposed to be:
>
> >     if (!responders) return element;
>
> > Because it destroys chaining, I'v had in my code:
>
> > document.stopObserving('mousemove', somefunction).stopObserving
> > ('mouseup', someotherfunction)
>
> > because there were no 'mousemove' handler the stopObserving returned
> > undefined instead of element
>
> > That is not what stopObserving is supposed to return.
>
> > Kind regards,
>
> > Rafał Michalski
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to