MCPcopy Create free account
hub / github.com/tree-sitter/tree-sitter-javascript / Data

Function Data

examples/jquery.js:3509–3520  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3507
3508
3509function Data() {
3510 // Support: Android < 4,
3511 // Old WebKit does not have Object.preventExtensions/freeze method,
3512 // return new empty object instead with no [[set]] accessor
3513 Object.defineProperty( this.cache = {}, 0, {
3514 get: function() {
3515 return {};
3516 }
3517 });
3518
3519 this.expando = jQuery.expando + Math.random();
3520}
3521
3522Data.uid = 1;
3523Data.accepts = jQuery.acceptData;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…