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

Function uidForElement

test/unit/tests/dom.test.js:1573–1575  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

1571
1572 test('#purge', function () {
1573 function uidForElement(elem) {
1574 return elem.uniqueID ? elem.uniqueID : elem._prototypeUID;
1575 }
1576
1577 var element = new Element('div');
1578 element.store('foo', 'bar');

Callers 1

dom.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected