mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-03 15:24:10 +01:00
New: Expose $.fn.dataTable.camelToHungarian as a static function which
can be used by plug-ins
This commit is contained in:
parent
e83eacff6d
commit
47c82c52a7
@ -1 +1 @@
|
|||||||
1aed342ecf2227b337f295712c9f43b09dadedb8
|
9a5b697e2900217b62a64cf4baf01148bc134332
|
||||||
|
16
media/js/jquery.dataTables.js
vendored
16
media/js/jquery.dataTables.js
vendored
@ -8453,6 +8453,22 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert from camel case parameters to Hungarian notation. This is made public
|
||||||
|
* for the extensions to provide the same ability as DataTables core to accept
|
||||||
|
* either the 1.9 style Hungarian notation, or the 1.10+ style camelCase
|
||||||
|
* parameters.
|
||||||
|
*
|
||||||
|
* @param {object} src The model object which holds all parameters that can be
|
||||||
|
* mapped.
|
||||||
|
* @param {object} user The object to convert from camel case to Hungarian.
|
||||||
|
* @param {boolean} force When set to `true`, properties which already have a
|
||||||
|
* Hungarian value in the `user` object will be overwritten. Otherwise they
|
||||||
|
* won't be.
|
||||||
|
*/
|
||||||
|
DataTable.camelToHungarian = _fnCamelToHungarian;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user