Merge branch 'es6' into migrate-to-ES6-36

This commit is contained in:
dkanada 2020-07-23 11:54:21 +09:00 committed by GitHub
commit 20324144af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 802 additions and 730 deletions

View file

@ -59,8 +59,7 @@ import 'formDialogStyle';
export function show(options) {
return new Promise((resolve, reject) => {
// TODO: remove require
require(['text!./components/accessSchedule/accessSchedule.template.html'], template => {
import('text!./components/accessSchedule/accessSchedule.template.html').then(({default: template}) => {
const dlg = dialogHelper.createDialog({
removeOnClose: true,
size: 'small'