mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
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.
28 lines
1000 B
CoffeeScript
28 lines
1000 B
CoffeeScript
{Point, Range} = require 'text-buffer'
|
|
|
|
module.exports =
|
|
_: require 'underscore-plus'
|
|
BufferedNodeProcess: require '../src/buffered-node-process'
|
|
BufferedProcess: require '../src/buffered-process'
|
|
Directory: require '../src/directory'
|
|
File: require '../src/file'
|
|
fs: require 'fs-plus'
|
|
Git: require '../src/git'
|
|
Point: Point
|
|
Range: Range
|
|
|
|
# The following classes can't be used from a Task handler and should therefore
|
|
# only be exported when not running as a child node process
|
|
unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE
|
|
{$, $$, $$$, View} = require '../src/space-pen-extensions'
|
|
|
|
module.exports.$ = $
|
|
module.exports.$$ = $$
|
|
module.exports.$$$ = $$$
|
|
module.exports.EditorView = require '../src/editor-view'
|
|
module.exports.WorkspaceView = require '../src/workspace-view'
|
|
module.exports.SelectList = require '../src/select-list'
|
|
module.exports.ScrollView = require '../src/scroll-view'
|
|
module.exports.Task = require '../src/task'
|
|
module.exports.View = View
|