MCPcopy Index your code
hub / github.com/prototypejs/prototype / handle

Function handle

test/unit/tests/event_handler.test.js:2–8  ·  view source on GitHub ↗
(selector, callback)

Source from the content-addressed store, hash-verified

1
2function handle(selector, callback) {
3 if (!callback) {
4 callback = selector;
5 selector = false;
6 }
7 return new Event.Handler("event-handler-container", "test:event", selector, callback);
8}
9
10var handler;
11

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected