Tag: object

  • Prototype Changes

    I found this article via Ajaxian regarding a nice block of Prototype updates. Shorter syntax for event handling Make destructive Element, Form, and Form.Element methods return their first argument, so that multiple calls can be chained together. The following methods now return their first argument: Element.toggle, Element.hide, Element.show, Element.remove, Element.update, Element.replace, Element.addClassName, Element.removeClassName, Element.observe, Element.stopObserving,…