💄 Move extend calls to top of class

This commit is contained in:
Kevin Sawicki
2013-08-26 19:09:42 -07:00
parent 03573b4e06
commit decaa3dfcf
15 changed files with 34 additions and 34 deletions

View File

@@ -10,6 +10,9 @@ telepath = require 'telepath'
module.exports =
class TokenizedBuffer
_.extend @prototype, EventEmitter
_.extend @prototype, Subscriber
grammar: null
currentGrammarScore: null
buffer: null
@@ -323,6 +326,3 @@ class TokenizedBuffer
for screenLine, row in @linesForScreenRows(0, @getLastRow())
lines.push "#{row}: #{screenLine.text}"
lines.join('\n')
_.extend(TokenizedBuffer.prototype, EventEmitter)
_.extend(TokenizedBuffer.prototype, Subscriber)