From 630f0f4504532ed20c0a706ded08d7d225be5ec4 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Tue, 25 Oct 2016 15:04:37 +0200 Subject: [PATCH] Comply to XO's no-warning-comments rule --- lib/actions/sessions.js | 2 +- lib/actions/ui.js | 2 +- lib/components/term-group.js | 2 +- lib/components/term.js | 2 +- lib/reducers/ui.js | 2 +- package.json | 1 - 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/actions/sessions.js b/lib/actions/sessions.js index ffab7d9c..7cdf690c 100644 --- a/lib/actions/sessions.js +++ b/lib/actions/sessions.js @@ -108,7 +108,7 @@ export function setActiveSession(uid) { type: SESSION_SET_ACTIVE, uid, effect() { - // TODO: this goes away when we are able to poll + // This goes away when we are able to poll // for the title ourseleves, instead of relying // on Session and focus/blur to subscribe if (prevUid) { diff --git a/lib/actions/ui.js b/lib/actions/ui.js index 1188bf6d..7e9ab35f 100644 --- a/lib/actions/ui.js +++ b/lib/actions/ui.js @@ -207,7 +207,7 @@ export function showPreferences() { type: UI_SHOW_PREFERENCES, effect() { dispatch(requestSession()); - // TODO: replace this hack with an async action + // Replace this hack with an async action rpc.once('session add', ({uid}) => { rpc.once('session data', () => { dispatch(sendSessionData( diff --git a/lib/components/term-group.js b/lib/components/term-group.js index 5d841abe..c1affeca 100644 --- a/lib/components/term-group.js +++ b/lib/components/term-group.js @@ -74,7 +74,7 @@ class TermGroup_ extends Component { onURLAbort: this.bind(this.props.onURLAbort, null, uid) }); - // TODO: This will create a new ref_ function for every render, + // This will create a new ref_ function for every render, // which is inefficient. Should maybe do something similar // to this.bind. return (