mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
- 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
17 lines
372 B
JavaScript
17 lines
372 B
JavaScript
define( [
|
|
"./arr"
|
|
], function( arr ) {
|
|
|
|
"use strict";
|
|
|
|
// Support: IE 9 - 11+, Edge 18+, Android Browser 4.0 - 4.3 only, iOS 7 - 11 only, Safari 11 only,
|
|
// Firefox <= 61 only
|
|
// Provide fallback for browsers without Array#flat.
|
|
return arr.flat ? function( array ) {
|
|
return arr.flat.call( array );
|
|
} : function( array ) {
|
|
return arr.concat.apply( [], array );
|
|
};
|
|
|
|
} );
|