Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prototypejs/prototype
/ on
Function
on
test/unit/static/js/mocha.js:407–410 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
405
var
self = this;
406
407
function
on () {
408
self.removeListener(name, on);
409
fn.apply(this, arguments);
410
};
411
412
on.listener = fn;
413
this.on(name, on);
Callers
1
HTML
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected