@excelwebzone/symfony-admin-ui
Version:
Symfony Admin UI is a simple set of UI behaviors and components used with your [symfony-admin](https://github.com/excelwebzone/symfony-admin-bundle) application.
21 lines (16 loc) • 456 B
JavaScript
import 'underscore';
import './jquery';
import './bootstrap';
import '../utils/axios_utils';
// Polyfill: add compatible Object.entries support in older environments.
if (typeof Object.entries !== 'function') {
Object.entries = function(obj) {
const ownProps = Object.keys(obj);
let i = ownProps.length;
let resArray = new Array(i);
while (i--) {
resArray[i] = [ownProps[i], obj[ownProps[i]]];
}
return resArray;
};
}