1
0
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:
Allan Jardine 2013-11-19 13:54:41 +00:00
parent 6740193eed
commit e82068e7b3
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
c45d7a00a9cb9889d6782276fb21e8c7d2f121e8
45379bfff91763dc2b7babbb90a7ecb037ffde3d

View File

@ -6678,14 +6678,13 @@
for ( i=0, ien=ext.length ; i<ien ; i++ ) {
struct = ext[i];
inner = obj[ struct.name ];
// Value
inner = typeof struct.val === 'function' ?
obj[ struct.name ] = typeof struct.val === 'function' ?
methodScoping( struct.val, struct ) :
struct.val;
inner.__dt_wrapper = true;
obj[ struct.name ].__dt_wrapper = true;
// Property extension
_Api.extend( scope, obj[ struct.name ], struct.propExt );