mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Dev fix - incorrect fix for the API extend method before. Was looking
its own reference
This commit is contained in:
parent
6740193eed
commit
e82068e7b3
@ -1 +1 @@
|
|||||||
c45d7a00a9cb9889d6782276fb21e8c7d2f121e8
|
45379bfff91763dc2b7babbb90a7ecb037ffde3d
|
||||||
|
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -6678,14 +6678,13 @@
|
|||||||
|
|
||||||
for ( i=0, ien=ext.length ; i<ien ; i++ ) {
|
for ( i=0, ien=ext.length ; i<ien ; i++ ) {
|
||||||
struct = ext[i];
|
struct = ext[i];
|
||||||
inner = obj[ struct.name ];
|
|
||||||
|
|
||||||
// Value
|
// Value
|
||||||
inner = typeof struct.val === 'function' ?
|
obj[ struct.name ] = typeof struct.val === 'function' ?
|
||||||
methodScoping( struct.val, struct ) :
|
methodScoping( struct.val, struct ) :
|
||||||
struct.val;
|
struct.val;
|
||||||
|
|
||||||
inner.__dt_wrapper = true;
|
obj[ struct.name ].__dt_wrapper = true;
|
||||||
|
|
||||||
// Property extension
|
// Property extension
|
||||||
_Api.extend( scope, obj[ struct.name ], struct.propExt );
|
_Api.extend( scope, obj[ struct.name ], struct.propExt );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user