mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
💄 Move extend calls to top of class
This commit is contained in:
@@ -19,6 +19,8 @@ Git = require 'git'
|
||||
# of directories and files that you can operate on.
|
||||
module.exports =
|
||||
class Project
|
||||
_.extend @prototype, EventEmitter
|
||||
|
||||
@acceptsDocuments: true
|
||||
@version: 1
|
||||
|
||||
@@ -359,5 +361,3 @@ class Project
|
||||
subscriber.subscribe this, 'buffer-created', (buffer) -> callback(buffer)
|
||||
else
|
||||
@on 'buffer-created', (buffer) -> callback(buffer)
|
||||
|
||||
_.extend Project.prototype, EventEmitter
|
||||
|
||||
Reference in New Issue
Block a user