Merge pull request #1310 from Alfresco/dev-denys-1304

fix dialog polyfill usage
This commit is contained in:
Mario Romano 2016-12-16 17:41:46 +00:00 committed by GitHub
commit dd73c8d40a
5 changed files with 4 additions and 8 deletions

View File

@ -27,7 +27,7 @@ import 'ng2-alfresco-webscript';
import 'ng2-alfresco-userinfo';
// Polyfill(s) for dialogs
import 'dialog-polyfill/dialog-polyfill';
require('script!dialog-polyfill/dialog-polyfill');
import 'dialog-polyfill/dialog-polyfill.css';
// Flags

View File

@ -106,10 +106,6 @@ module.exports = {
plugins: [
new webpack.ProvidePlugin({
'dialogPolyfill': 'dialog-polyfill/dialog-polyfill'
}),
new webpack.WatchIgnorePlugin([
...alfrescoLibsModules,
...alfrescoLibsSources

View File

@ -21,7 +21,7 @@ import { ActivitiTaskListService } from './../services/activiti-tasklist.service
import { TaskDetailsModel } from '../models/task-details.model';
import { Observer, Observable } from 'rxjs/Rx';
let dialogPolyfill: any;
declare let dialogPolyfill: any;
@Component({
selector: 'activiti-checklist',

View File

@ -21,7 +21,7 @@ import { ActivitiTaskListService } from './../services/activiti-tasklist.service
import { Comment } from '../models/comment.model';
import { Observer, Observable } from 'rxjs/Rx';
let dialogPolyfill: any;
declare let dialogPolyfill: any;
@Component({
selector: 'activiti-comments',

View File

@ -21,7 +21,7 @@ import { User } from '../models/user.model';
import { Observer, Observable } from 'rxjs/Rx';
import { ActivitiPeopleService } from '../services/activiti-people.service';
let dialogPolyfill: any;
declare let dialogPolyfill: any;
@Component({
selector: 'activiti-people',