From b488ffb6a9a125398706ca18dffdc2a84b5b5448 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 27 Apr 2015 17:29:55 -0700 Subject: [PATCH] fix(lint): Resolve linter errors --- src/flux/coffee-helpers.coffee | 4 ++-- src/flux/models/tag.coffee | 2 +- src/flux/models/thread.coffee | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/flux/coffee-helpers.coffee b/src/flux/coffee-helpers.coffee index 02d6cf376..d74d70cf0 100644 --- a/src/flux/coffee-helpers.coffee +++ b/src/flux/coffee-helpers.coffee @@ -4,10 +4,10 @@ module.exports = # This copied out CoffeeScript includeModule: (mixin) -> if not mixin - return throw 'Supplied mixin was not found' + return throw new Error('Supplied mixin was not found') if not _ - return throw 'Underscore was not found' + return throw new Error('Underscore was not found') mixin = mixin.prototype if _.isFunction(mixin) diff --git a/src/flux/models/tag.coffee b/src/flux/models/tag.coffee index af7ebe2cd..d1da908f7 100644 --- a/src/flux/models/tag.coffee +++ b/src/flux/models/tag.coffee @@ -4,7 +4,7 @@ _ = require 'underscore-plus' ### Public: The Tag model represents a Nylas Tag object. For more information -about Tags on the Nylas Platform, read the +about Tags on the Nylas Platform, read the [https://nylas.com/docs/api#tags](Tags API Documentation) ## Attributes diff --git a/src/flux/models/thread.coffee b/src/flux/models/thread.coffee index 2d6530e37..a9e0f649b 100644 --- a/src/flux/models/thread.coffee +++ b/src/flux/models/thread.coffee @@ -11,7 +11,7 @@ Function::getter = (prop, get) -> ### Public: The Thread model represents a Nylas Thread object. For more information -about Threads on the Nylas Platform, read the +about Threads on the Nylas Platform, read the [https://nylas.com/docs/api#threads](Threads API Documentation) ## Attributes