Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/prototypejs/prototype
/ uidForElement
Function
uidForElement
test/unit/tests/event.test.js:3–5 ·
view source on GitHub ↗
(elem)
Source
from the content-addressed store, hash-verified
1
var
documentLoaded = document.loaded;
2
3
function
uidForElement(elem) {
4
return
elem.uniqueID ? elem.uniqueID : elem._prototypeUID;
5
}
6
7
suite(
'Event'
,
function
() {
8
this.name =
'event'
;
Callers
1
event.test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected