elementRef of Button is now a private _elementRef

This commit is contained in:
Eddie Lau 3dd13
2015-12-21 21:22:23 +08:00
parent b861c390dc
commit 054bdfdbaf

View File

@@ -21,7 +21,7 @@ export function run() {
}
function hasClass(button, className) {
return button.elementRef.nativeElement.classList.contains(className);
return button._elementRef.nativeElement.classList.contains(className);
}
it('should ignore certain attributes', () => {