MCPcopy Create free account
hub / github.com/JsAaron/jQuery / Data

Function Data

2.1.1/test/other.js:915–926  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

913
914
915function Data() {
916 // Support: Android < 4,
917 // Old WebKit does not have Object.preventExtensions/freeze method,
918 // return new empty object instead with no [[set]] accessor
919 Object.defineProperty( this.cache = {}, 0, {
920 get: function() {
921 return {};
922 }
923 });
924
925 this.expando = jQuery.expando + Math.random();
926}
927
928Data.uid = 1;
929Data.accepts = jQuery.acceptData;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected