1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-01 00:52:11 +01:00
DataTables/.datatables-commit-sync
Allan Jardine 6740193eed Dev fix: The API chaining was a little broken if the inner function
returned undefined, null etc.

- The base issue was in the instanceof check which has a priority error,
  it was:
    ! obj instanceof _Api
  which is the same as:
   (! obj) instanceof _Api
  which is rubbish.

  We want:
    ! (obj instanceof _Api)
  but there is of course a wrapper function, so that needs ot be taken
  into account as well. The new logic does just that.
2013-11-19 13:54:14 +00:00

2 lines
41 B
Plaintext

c45d7a00a9cb9889d6782276fb21e8c7d2f121e8