summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-03-17 12:08:22 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-03-17 12:08:22 +0000
commit3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d (patch)
treefe141448ef79d4ce9bd8fa158d6452e80ee77f05 /app
parent4b8e98d483207beb4331ca3b728e106987f23603 (diff)
downloadmullvadvpn-3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d.tar.xz
mullvadvpn-3f44c0681bf6786a3fe6b6a0ded129028c8d1f7d.zip
Improve documentation
Diffstat (limited to 'app')
-rw-r--r--app/lib/tray-animation.js6
-rw-r--r--app/lib/tray-animator.js8
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();