Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 6863506

Browse files
fix(text-field): Fix typos
1 parent 4ca4db6 commit 6863506

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/mdc-textfield/foundation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class MDCTextFieldFoundation extends MDCFoundation {
154154
/**
155155
* Activates the text field focus state.
156156
*/
157-
activateFocus_() {
157+
activateFocus() {
158158
const {BOTTOM_LINE_ACTIVE, FOCUSED, LABEL_SHAKE} = MDCTextFieldFoundation.cssClasses;
159159
this.isFocused_ = true;
160160
this.updateLabelFloat_();
@@ -235,7 +235,7 @@ class MDCTextFieldFoundation extends MDCFoundation {
235235
/**
236236
* Deactives the Text Field's focus state.
237237
*/
238-
deactivateFocus_() {
238+
deactivateFocus() {
239239
const {FOCUSED, LABEL_SHAKE} = MDCTextFieldFoundation.cssClasses;
240240
const input = this.getNativeInput_();
241241

test/unit/mdc-textfield/foundation.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const DESC_UNDEFINED = {
3232
};
3333

3434
function setupHookTest() {
35-
const {foundation, mockAdapter} = setupFoundationTest(MDCTextfieldFoundation);
35+
const {foundation, mockAdapter} = setupFoundationTest(MDCTextFieldFoundation);
3636
const nativeInput = bel`<input type="text">`;
3737
td.when(mockAdapter.getNativeInput()).thenReturn(nativeInput);
3838
return {foundation, mockAdapter, nativeInput};

0 commit comments

Comments
 (0)