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

Ticket #8133 (closed enhancement: untested)

Opened 1 year ago

Last modified 1 year ago

[PATCH] A patch of hook utility for prototype

Reported by: supnate Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

Using this utility, you can realize your custom event mechnism easly, and you can build your web application quite extendable.

In the demo, you can see function 'helloWorld' is hooked by method 'hijack' of object 'Hooker'

Attachments

hookerForPrototype.zip (17.3 kB) - added by supnate on 04/21/07 03:46:07.
A patch of hooker utility for prototype
hookerAndEventForPrototype.zip (17.6 kB) - added by supnate on 04/22/07 08:05:44.
have updated some codes

Change History

04/21/07 03:46:07 changed by supnate

  • attachment hookerForPrototype.zip added.

A patch of hooker utility for prototype

04/22/07 08:05:44 changed by supnate

  • attachment hookerAndEventForPrototype.zip added.

have updated some codes

05/29/07 20:50:32 changed by josh

  • summary changed from A patch of hook utility for prototype to [PATCH] A patch of hook utility for prototype.

Please upload your patch as a diff file.

06/14/07 00:47:21 changed by Tobie

  • status changed from new to closed.
  • resolution set to untested.

That's a nice implementation. Consider releasing it as a third party lib - or providing complete tests.

Thanks!