fix(facades): fix splice semantics; add test

This commit is contained in:
Yegor Jbanov
2015-04-17 13:20:03 -07:00
parent 2b4d30d931
commit 526c51d1a6
5 changed files with 24 additions and 4 deletions
@@ -65,7 +65,7 @@ export class MdSwitch {
}
onKeydown(event: KeyboardEvent) {
if (event.keyCode == KEY_SPACE) {
if (event.keyCode === KEY_SPACE) {
event.preventDefault();
this.toggle(event);
}