Don't export Model superclass in top-level atom module

Previously, the semantics of telepath's Model class were coupled to the
wrapped documents, so it made sense to export the Model. But now that
Model is much simpler, it makes more sense to allow individual packages
to rely on their own version of Model by requiring theorist if they want
to so we can make changes to the version of model used by core without
breaking packages.
This commit is contained in:
Nathan Sobo
2014-01-05 10:47:22 -07:00
parent cbec03c158
commit 8d4ae33134

View File

@@ -1,4 +1,3 @@
{Model} = require 'theorist'
{Point, Range} = require 'text-buffer'
module.exports =
@@ -9,7 +8,6 @@ module.exports =
File: require '../src/file'
fs: require 'fs-plus'
Git: require '../src/git'
Model: Model
Point: Point
Range: Range