Skip to content
Browse files

Dev fix: Typo in the name of _hungarianMap private parameter

  • Loading branch information...
1 parent 2bd6434 commit 25eaa86477b328446179e992b887e948ee52d08e @DataTables committed Mar 3, 2013
Showing with 8 additions and 8 deletions.
  1. +4 −4 media/js/jquery.dataTables.js
  2. +4 −4 media/src/core/core.compat.js
View
8 media/js/jquery.dataTables.js
@@ -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,15 +127,15 @@
*/
function _fnCamelToHungarian ( src, user, force )
{
- if ( ! src._hungaianMap )
+ if ( ! src._hungarianMap )
{
_fnHungarianMap( src );
}
var hungarianKey;
$.each( user, function (key, val) {
- hungarianKey = src._hungaianMap[ key ];
+ hungarianKey = src._hungarianMap[ key ];
if ( hungarianKey !== undefined && (force || user[hungarianKey] === undefined) )
{
View
8 media/src/core/core.compat.js
@@ -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,15 +47,15 @@ function _fnHungarianMap ( o )
*/
function _fnCamelToHungarian ( src, user, force )
{
- if ( ! src._hungaianMap )
+ if ( ! src._hungarianMap )
{
_fnHungarianMap( src );
}
var hungarianKey;
$.each( user, function (key, val) {
- hungarianKey = src._hungaianMap[ key ];
+ hungarianKey = src._hungarianMap[ key ];
if ( hungarianKey !== undefined && (force || user[hungarianKey] === undefined) )
{

0 comments on commit 25eaa86

Please sign in to comment.
Something went wrong with that request. Please try again.