incorporate json+collection, other refinements

This commit is contained in:
2022-11-20 15:40:49 -06:00
parent 287fd946b4
commit 812ff85591
25 changed files with 1756 additions and 503 deletions

View File

@@ -4395,7 +4395,7 @@ var dataUser = new Data();
// 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 _internal_data_dict, _removeData)
// 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
@@ -4463,7 +4463,7 @@ jQuery.extend( {
dataUser.remove( elem, name );
},
// TODO: Now that all calls to _internal_data_dict and _removeData have been replaced
// TODO: Now that all calls to _data and _removeData have been replaced
// with direct calls to dataPriv methods, these can be deprecated.
_data: function( elem, name, data ) {
return dataPriv.access( elem, name, data );