mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user