[Gutter] Fix coffeescript style issues

This commit is contained in:
Jess Lin
2015-04-20 23:23:48 -07:00
parent 14145e1197
commit cdca9c3ef1
7 changed files with 21 additions and 21 deletions

View File

@@ -30,7 +30,7 @@ class GutterContainer
addGutter: (options) ->
options = options ? {}
gutterName = options.name
if gutterName == null
if gutterName is null
throw new Error('A name is required to create a gutter.')
if @gutterWithName(gutterName)
throw new Error('Tried to create a gutter with a name that is already in use.')
@@ -54,7 +54,7 @@ class GutterContainer
gutterWithName: (name) ->
for gutter in @gutters
if gutter.name == name then return gutter
if gutter.name is name then return gutter
null
###