diff --git a/.gitignore b/.gitignore index b54c390925..fd08a755ee 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ src/environments/ /demo-shell-ng2/ng2-components/ .happypack/ .happypack/ -.history \ No newline at end of file +.history +package-lock.* diff --git a/demo-shell-ng2/app/components/activiti/activiti-demo.component.ts b/demo-shell-ng2/app/components/activiti/activiti-demo.component.ts index 6e133fce8d..1c938f606b 100644 --- a/demo-shell-ng2/app/components/activiti/activiti-demo.component.ts +++ b/demo-shell-ng2/app/components/activiti/activiti-demo.component.ts @@ -51,8 +51,6 @@ import { Subscription } from 'rxjs/Rx'; import { /*CustomEditorComponent*/ CustomStencil01 } from './custom-editor/custom-editor.component'; import { DemoFieldValidator } from './demo-field-validator'; -declare var componentHandler; - const currentProcessIdNew = '__NEW__'; const currentTaskIdNew = '__NEW__'; @@ -384,11 +382,6 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit { } ngAfterViewInit() { - // workaround for MDL issues with dynamic components - if (componentHandler) { - componentHandler.upgradeAllRegistered(); - } - this.loadStencilScriptsInPageFromActiviti(); } diff --git a/demo-shell-ng2/app/vendor.ts b/demo-shell-ng2/app/vendor.ts index 8f5a61e124..3580c04f97 100644 --- a/demo-shell-ng2/app/vendor.ts +++ b/demo-shell-ng2/app/vendor.ts @@ -38,7 +38,6 @@ require('script-loader!dialog-polyfill/dialog-polyfill'); import 'dialog-polyfill/dialog-polyfill.css'; // Google Material Design Lite -import 'material-design-icons/iconfont/material-icons.css'; import 'material-design-lite/dist/material.orange-blue.min.css'; import 'material-design-lite/material.js'; diff --git a/demo-shell-ng2/index.html b/demo-shell-ng2/index.html index bfddacb509..222f75ec7e 100644 --- a/demo-shell-ng2/index.html +++ b/demo-shell-ng2/index.html @@ -7,7 +7,7 @@ - +