1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

Dev fix: Typo in the name of _hungarianMap private parameter

This commit is contained in:
Allan Jardine 2013-03-03 08:36:58 +00:00
parent 2bd643468b
commit 25eaa86477
2 changed files with 8 additions and 8 deletions

View File

@ -83,7 +83,7 @@
/**
* Create a mapping object that allows camel case parameters to be looked up
* for their Hungarian counterparts. The mapping is stored in a private
* parameter called `_hungaianMap` which can be accessed on the source object.
* parameter called `_hungarianMap` which can be accessed on the source object.
* @param {object} o
* @memberof DataTable#oApi
*/
@ -110,7 +110,7 @@
}
} );
o._hungaianMap = map;
o._hungarianMap = map;
}
@ -127,7 +127,7 @@
*/
function _fnCamelToHungarian ( src, user, force )
{
if ( ! src._hungaianMap )
if ( ! src._hungarianMap )
{
_fnHungarianMap( src );
}
@ -135,7 +135,7 @@
var hungarianKey;
$.each( user, function (key, val) {
hungarianKey = src._hungaianMap[ key ];
hungarianKey = src._hungarianMap[ key ];
if ( hungarianKey !== undefined && (force || user[hungarianKey] === undefined) )
{

View File

@ -3,7 +3,7 @@
/**
* Create a mapping object that allows camel case parameters to be looked up
* for their Hungarian counterparts. The mapping is stored in a private
* parameter called `_hungaianMap` which can be accessed on the source object.
* parameter called `_hungarianMap` which can be accessed on the source object.
* @param {object} o
* @memberof DataTable#oApi
*/
@ -30,7 +30,7 @@ function _fnHungarianMap ( o )
}
} );
o._hungaianMap = map;
o._hungarianMap = map;
}
@ -47,7 +47,7 @@ function _fnHungarianMap ( o )
*/
function _fnCamelToHungarian ( src, user, force )
{
if ( ! src._hungaianMap )
if ( ! src._hungarianMap )
{
_fnHungarianMap( src );
}
@ -55,7 +55,7 @@ function _fnCamelToHungarian ( src, user, force )
var hungarianKey;
$.each( user, function (key, val) {
hungarianKey = src._hungaianMap[ key ];
hungarianKey = src._hungarianMap[ key ];
if ( hungarianKey !== undefined && (force || user[hungarianKey] === undefined) )
{