mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-01 15:14:11 +01:00
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:
19
node_modules/jquery/src/data/var/acceptData.js
generated
vendored
Normal file
19
node_modules/jquery/src/data/var/acceptData.js
generated
vendored
Normal 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 );
|
||||
};
|
||||
|
||||
} );
|
||||
Reference in New Issue
Block a user