mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
9ef7f1ad20
- This appears to be caused by setting the prototype chain as an object directly. For example: var test = function () {}; test.prototype = {}; $.isPlainObject( new test() ); will return `true` with jQuery 2.1.4 (and `false` for 1.11.3). If an item is added to the prototype object then it will return `false`, although for some reason that wasn't the case with DataTables' API prototype. More investigation required, but for full compatiblity with exisiting jQuery releases, the correct thing to do here is to build on the exisiting prototype, which we can do with `$.extend`.
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
2b8674aa2395b7be7f923e044fdb062e93a8af4e
|