From 25eaa86477b328446179e992b887e948ee52d08e Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sun, 3 Mar 2013 08:36:58 +0000 Subject: [PATCH] Dev fix: Typo in the name of _hungarianMap private parameter --- media/js/jquery.dataTables.js | 8 ++++---- media/src/core/core.compat.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 2d5bbeed..82e9366e 100644 --- a/media/js/jquery.dataTables.js +++ b/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,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) ) { diff --git a/media/src/core/core.compat.js b/media/src/core/core.compat.js index 21a8b145..49b8d18f 100644 --- a/media/src/core/core.compat.js +++ b/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,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) ) {