Upgrade to emissary 0.31.0 for implicit 'value' subscriptions on signals

Previously, when you always had to specify the event name of 'value'
when calling `::subscribe` with a signal. Now, if you don't specify an
event name, 'value' is assumed.
This commit is contained in:
Nathan Sobo
2014-01-11 11:22:31 -07:00
parent ef8b7531b0
commit 3ab7836ab2
6 changed files with 9 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ class TokenizedBuffer extends Model
@subscribe @buffer, "changed", (e) => @handleBufferChange(e)
@subscribe @buffer, "path-changed", => @bufferPath = @buffer.getPath()
@subscribe @$tabLength.changes.onValue (tabLength) =>
@subscribe @$tabLength.changes, (tabLength) =>
lastRow = @buffer.getLastRow()
@tokenizedLines = @buildPlaceholderTokenizedLinesForRows(0, lastRow)
@invalidateRow(0)