Merge pull request #728 from francois2metz/fix_unused_require

Harmonize require and remove unused ones.
This commit is contained in:
Ben Gotow 2015-12-17 11:19:09 -08:00
commit 9fee3c4cf1
2 changed files with 3 additions and 6 deletions

View file

@ -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

View file

@ -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"