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

Function Data

2.0.3/2.0.3.js:3322–3333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3320 rmultiDash = /([A-Z])/g;
3321
3322 function Data() {
3323 // Support: Android < 4,
3324 // Old WebKit does not have Object.preventExtensions/freeze method,
3325 // return new empty object instead with no [[set]] accessor
3326 Object.defineProperty( this.cache = {}, 0, {
3327 get: function() {
3328 return {};
3329 }
3330 });
3331
3332 this.expando = jQuery.expando + Math.random();
3333 }
3334
3335 Data.uid = 1;
3336

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected