#814 fix MDL issues

- additional workarounds for Material Design Lite problems
- validation fixes

fixes #814
This commit is contained in:
Denys Vuika
2016-09-26 15:20:33 +01:00
parent dea16dabe6
commit 433d192b70
10 changed files with 113 additions and 20 deletions

View File

@@ -39,9 +39,7 @@ describe('WidgetComponent', () => {
it('should setup MDL content only if component handler available', () => {
let component = new WidgetComponent();
expect(component.setupMaterialComponents()).toBeTruthy();
window['componentHandler'] = null;
expect(component.setupMaterialComponents(componentHandler)).toBeTruthy();
expect(component.setupMaterialComponents()).toBeFalsy();
});