diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-17 12:08:22 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-17 12:08:22 +0000 |
| commit | 3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d (patch) | |
| tree | fe141448ef79d4ce9bd8fa158d6452e80ee77f05 | |
| parent | 4b8e98d483207beb4331ca3b728e106987f23603 (diff) | |
| download | mullvadvpn-3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d.tar.xz mullvadvpn-3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d.zip | |
Improve documentation
| -rw-r--r-- | app/lib/tray-animation.js | 6 | ||||
| -rw-r--r-- | app/lib/tray-animator.js | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/app/lib/tray-animation.js b/app/lib/tray-animation.js index c5fa35f8fc..618d0383c0 100644 --- a/app/lib/tray-animation.js +++ b/app/lib/tray-animation.js @@ -172,8 +172,7 @@ export default class TrayAnimation { } /** - * Advance animation to the start - * This method respects animation reversal + * Advance animation to the start. This method respects animation reversal * * @memberOf TrayAnimation */ @@ -182,8 +181,7 @@ export default class TrayAnimation { } /** - * Advance animation to the end - * This method respects animation reversal + * Advance animation to the end. This method respects animation reversal * * @memberOf TrayAnimation */ diff --git a/app/lib/tray-animator.js b/app/lib/tray-animator.js index d1873025f8..9fb03b5588 100644 --- a/app/lib/tray-animator.js +++ b/app/lib/tray-animator.js @@ -30,11 +30,19 @@ export default class TrayAnimator { this._timer = null; } + /** + * Advance animation to the start * + * @memberOf TrayAnimator + */ advanceToStart() { this._animation.advanceToStart(); this._updateTrayIcon(); } + /** + * Advance animation to the end + * @memberOf TrayAnimator + */ advanceToEnd() { this._animation.advanceToEnd(); this._updateTrayIcon(); |
