clean demo project

This commit is contained in:
Mario Romano
2016-04-21 18:46:04 +01:00
parent 32722dfd95
commit d524274d82
10 changed files with 18 additions and 140 deletions

View File

@@ -0,0 +1,11 @@
import {Directive, AfterViewInit} from 'angular2/core';
declare var componentHandler;
@Directive({
selector: '[mdl]'
})
export class MDL implements AfterViewInit {
ngAfterViewInit() {
componentHandler.upgradeAllRegistered();
}
}