Remove mixins already added by Model superclass

This commit is contained in:
Kevin Sawicki
2013-12-12 09:03:23 -08:00
parent 63cac904ae
commit 9fbfeb970b
2 changed files with 2 additions and 8 deletions

View File

@@ -4,11 +4,10 @@ url = require 'url'
_ = require 'underscore-plus'
fs = require 'fs-plus'
Q = require 'q'
telepath = require 'telepath'
{Model} = require 'telepath'
TextBuffer = require './text-buffer'
Editor = require './editor'
{Emitter} = require 'emissary'
Directory = require './directory'
Task = require './task'
Git = require './git'
@@ -18,8 +17,7 @@ Git = require './git'
# Ultimately, a project is a git directory that's been opened. It's a collection
# of directories and files that you can operate on.
module.exports =
class Project extends telepath.Model
Emitter.includeInto(this)
class Project extends Model
@properties
buffers: []

View File

@@ -1,5 +1,4 @@
_ = require 'underscore-plus'
{Emitter, Subscriber} = require 'emissary'
Q = require 'q'
{P} = require 'scandal'
telepath = require 'telepath'
@@ -14,9 +13,6 @@ File = require './file'
# the case, as a `TextBuffer` could be an unsaved chunk of text.
module.exports =
class TextBuffer extends telepath.Model
Emitter.includeInto(this)
Subscriber.includeInto(this)
@properties
text: -> new telepath.String('', replicated: false)
filePath: null