diff options
Diffstat (limited to 'js/vendor/jquery/src/data.js')
-rw-r--r-- | js/vendor/jquery/src/data.js | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/js/vendor/jquery/src/data.js b/js/vendor/jquery/src/data.js index e3f3578fe..f9af9ae67 100644 --- a/js/vendor/jquery/src/data.js +++ b/js/vendor/jquery/src/data.js @@ -6,17 +6,16 @@ define([ "./data/var/data_user" ], function( jQuery, rnotwhite, access, data_priv, data_user ) { -/* - Implementation Summary - - 1. Enforce API surface and semantic compatibility with 1.9.x branch - 2. Improve the module's maintainability by reducing the storage - paths to a single mechanism. - 3. Use the same single mechanism to support "private" and "user" data. - 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) - 5. Avoid exposing implementation details on user objects (eg. expando properties) - 6. Provide a clear path for implementation upgrade to WeakMap in 2014 -*/ +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, rmultiDash = /([A-Z])/g; |