💄 move extend calls to top of class

This commit is contained in:
Kevin Sawicki
2013-08-23 18:33:24 -07:00
parent 325d534d91
commit 5640f57eae

View File

@@ -10,6 +10,9 @@ GitUtils = require 'git-utils'
# Ultimately, this is an overlay to the native [git-utils](https://github.com/atom/node-git) module.
module.exports =
class Git
_.extend @prototype, Subscriber
_.extend @prototype, EventEmitter
### Public ###
# Creates a new `Git` instance.
#
@@ -239,6 +242,3 @@ class Git
@statuses = statuses
@upstream = upstream
@trigger 'statuses-changed' unless statusesUnchanged
_.extend Git.prototype, Subscriber
_.extend Git.prototype, EventEmitter