mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Moved promise polyfill into boot logic
It's not specific to one single component
This commit is contained in:
parent
54a4cef863
commit
3a690d8084
@ -17,6 +17,9 @@ import bootInjector from 'boot/BootInjector';
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
import CampaignAdmin from 'containers/CampaignAdmin/controller';
|
||||
|
||||
import es6promise from 'es6-promise';
|
||||
es6promise.polyfill();
|
||||
|
||||
function appBoot() {
|
||||
reducerRegister.add('config', ConfigReducer);
|
||||
reducerRegister.add('form', ReduxFormReducer);
|
||||
|
@ -7,9 +7,6 @@ import * as schemaActions from 'state/schema/SchemaActions';
|
||||
import Form from 'components/Form/Form';
|
||||
import FormBuilder, { basePropTypes, schemaPropType } from 'components/FormBuilder/FormBuilder';
|
||||
|
||||
import es6promise from 'es6-promise';
|
||||
es6promise.polyfill();
|
||||
|
||||
class FormBuilderLoader extends Component {
|
||||
|
||||
constructor(props) {
|
||||
|
Loading…
Reference in New Issue
Block a user