Speed up build (#1852)

* single build webpack

* fix demo shell test
This commit is contained in:
Eugenio Romano
2017-05-03 13:01:00 +02:00
committed by Eugenio Romano
parent 8959476941
commit 0b246b8211
362 changed files with 2684 additions and 13104 deletions

View File

@@ -25,7 +25,6 @@ declare let dialogPolyfill: any;
@Component({
selector: 'activiti-checklist',
moduleId: module.id,
templateUrl: './activiti-checklist.component.html',
styleUrls: ['./activiti-checklist.component.css'],
providers: [ActivitiTaskListService]
@@ -47,6 +46,9 @@ export class ActivitiChecklist implements OnInit, OnChanges {
@Output()
checklistTaskDeleted: EventEmitter<string> = new EventEmitter<string>();
@Output()
error: EventEmitter<any> = new EventEmitter<any>();
@ViewChild('dialog')
dialog: any;
@@ -95,8 +97,8 @@ export class ActivitiChecklist implements OnInit, OnChanges {
this.taskObserver.next(task);
});
},
(err) => {
this.logService.error(err);
(error) => {
this.error.emit(error);
}
);
} else {
@@ -125,8 +127,8 @@ export class ActivitiChecklist implements OnInit, OnChanges {
this.checklistTaskCreated.emit(res);
this.taskName = '';
},
(err) => {
this.logService.error(err);
(error) => {
this.error.emit(error);
}
);
this.cancel();
@@ -138,8 +140,8 @@ export class ActivitiChecklist implements OnInit, OnChanges {
this.checklist = this.checklist.filter(check => check.id !== taskId);
this.checklistTaskDeleted.emit(taskId);
},
(err) => {
this.logService.error(err);
(error) => {
this.error.emit(error);
});
}