pulsar/exports/atom.coffee
2013-10-14 17:45:01 -07:00

31 lines
1.1 KiB
CoffeeScript

{View, $$, $$$} = require '../src/space-pen-extensions'
{Document, Point, Range, Site} = require 'telepath'
module.exports =
_: require '../src/underscore-extensions'
$: require '../src/jquery-extensions'
$$: $$
$$$: $$$
BufferedNodeProcess: require '../src/buffered-node-process'
BufferedProcess: require '../src/buffered-process'
Directory: require '../src/directory'
Document: Document
File: require '../src/file'
fs: require '../src/fs-utils'
Git: require '../src/git'
Point: Point
Range: Range
ScrollView: require '../src/scroll-view'
Site: Site
stringscore: require '../vendor/stringscore'
View: View
# 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
module.exports.Editor = require '../src/editor'
module.exports.pathForRepositoryUrl = require('../src/project').pathForRepositoryUrl
module.exports.RootView = require '../src/root-view'
module.exports.SelectList = require '../src/select-list'
module.exports.Task = require '../src/task'