mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Default TokenizedBuffer options hash to {}
This commit is contained in:
@@ -24,7 +24,7 @@ class TokenizedBuffer
|
||||
invalidRows: null
|
||||
visible: false
|
||||
|
||||
constructor: (@buffer, { @tabLength }) ->
|
||||
constructor: (@buffer, { @tabLength } = {}) ->
|
||||
@tabLength ?= 2
|
||||
@id = @constructor.idCounter++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user