Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10465 (new defect)

Opened 1 year ago

Last modified 1 year ago

[DOC] Event.stopObserving documentation: eventName and handler are not mandatory

Reported by: mjs Assigned to: sam
Priority: low Milestone: 2.x
Component: Prototype Version: edge
Severity: minor Keywords: documentation
Cc: mjs@beebo.org

Description

The Event.stopObserving documentation suggests that the eventName and handler arguments are mandatory:

http://www.prototypejs.org/api/event/stopObserving

They aren't--if neither is provided, all events are removed. This is described in the 1.6.0 RC blog post:

http://www.prototypejs.org/2007/8/15/prototype-1-6-0-release-candidate

and also follows from reading the code.

Change History

12/11/07 12:21:04 changed by kangax

  • priority changed from normal to low.
  • severity changed from normal to minor.
  • summary changed from Event.stopObserving documentation: eventName and handler are not mandatory to [DOC] Event.stopObserving documentation: eventName and handler are not mandatory.