Improve dataTables integration within the app:

- Manage lib through NPM
- Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet)
- Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore

Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
This commit is contained in:
Molkobain
2021-03-26 17:46:13 +01:00
parent 2e8c0346d3
commit 6f659a3431
183 changed files with 115480 additions and 395 deletions

19
node_modules/jquery/src/data/var/acceptData.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
define( function() {
"use strict";
/**
* Determines whether an object can have data
*/
return function( owner ) {
// Accepts only:
// - Node
// - Node.ELEMENT_NODE
// - Node.DOCUMENT_NODE
// - Object
// - Any
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
};
} );