Minor updates. All parameters of an internal function are for internal use only.

This commit is contained in:
Timmy Willison 2013-01-30 20:40:39 -05:00
parent 1e1ea2c44f
commit 2a70774036

View File

@ -1,7 +1,7 @@
var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
rmultiDash = /([A-Z])/g;
function internalData( elem, name, data, pvt /* Internal Use Only */ ){
function internalData( elem, name, data, pvt ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
@ -95,7 +95,7 @@ function internalData( elem, name, data, pvt /* Internal Use Only */ ){
return ret;
}
function internalRemoveData( elem, name, pvt /* For internal use only */ ){
function internalRemoveData( elem, name, pvt ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
@ -205,11 +205,11 @@ jQuery.extend({
},
data: function( elem, name, data ) {
return internalData( elem, name, data, false );
return internalData( elem, name, data );
},
removeData: function( elem, name ) {
return internalRemoveData( elem, name, false );
return internalRemoveData( elem, name );
},
// For internal use only.