jvent
jvent copied to clipboard
attach method
I would love to be able to attach the event processing to an existing object, e.g. in a constructor:
function Foo() {
Jvent.attach(this);
}
Or even:
var foo = {};
Jvent.attach(foo);