From efefe0dae758c965f04f391570cd412a6d0a3d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Tue, 15 Dec 2015 20:03:35 +0100 Subject: [PATCH] Harmonize require and remove unused ones. --- .../message-list/lib/thread-archive-button.cjsx | 4 +--- .../message-list/lib/thread-toggle-unread-button.cjsx | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/internal_packages/message-list/lib/thread-archive-button.cjsx b/internal_packages/message-list/lib/thread-archive-button.cjsx index 060584c35..49d25c632 100644 --- a/internal_packages/message-list/lib/thread-archive-button.cjsx +++ b/internal_packages/message-list/lib/thread-archive-button.cjsx @@ -1,7 +1,6 @@ -_ = require 'underscore' -React = require 'react' {RetinaImg} = require 'nylas-component-kit' {Actions, + React, TaskFactory, DOMUtils, FocusedMailViewStore} = require 'nylas-exports' @@ -32,5 +31,4 @@ class ThreadArchiveButton extends React.Component Actions.popSheet() e.stopPropagation() - module.exports = ThreadArchiveButton diff --git a/internal_packages/message-list/lib/thread-toggle-unread-button.cjsx b/internal_packages/message-list/lib/thread-toggle-unread-button.cjsx index ed6eb3c24..cf74ac49a 100644 --- a/internal_packages/message-list/lib/thread-toggle-unread-button.cjsx +++ b/internal_packages/message-list/lib/thread-toggle-unread-button.cjsx @@ -1,6 +1,5 @@ -React = require 'react' -{Actions, FocusedContentStore, ChangeUnreadTask} = require 'nylas-exports' -{RetinaImg, KeyCommandsRegion} = require 'nylas-component-kit' +{Actions, React, FocusedContentStore, ChangeUnreadTask} = require 'nylas-exports' +{RetinaImg} = require 'nylas-component-kit' class ThreadToggleUnreadButton extends React.Component @displayName: "ThreadToggleUnreadButton"