Skip to content

Commit d4e1805

Browse files
committed
Merge pull request johnpapa#723 from looselytyped/patch-1
alphabetize private functions
2 parents 001dff3 + b5592d4 commit d4e1805

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

a2/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,18 +223,18 @@ Translations of this Angular 2 style guide are maintained by the community. Due
223223
}
224224

225225
// private functions
226+
private _hide() {
227+
this._toastElement.style.opacity = 0;
228+
window.setTimeout(() => this._toastElement.style.zIndex = 0, 400);
229+
}
230+
226231
private _show() {
227232
console.log(this.message);
228233
this._toastElement.style.opacity = 1;
229234
this._toastElement.style.zIndex = 9999;
230235

231236
window.setTimeout(() => this._hide(), 2500);
232237
}
233-
234-
private _hide() {
235-
this._toastElement.style.opacity = 0;
236-
window.setTimeout(() => this._toastElement.style.zIndex = 0, 400);
237-
}
238238
}
239239
```
240240

0 commit comments

Comments
 (0)