mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
10d0fdf2d7ca1328335a0523e8e6546d95912e2b
The requiring of a package's main module is now decoupled from package activation. Non-deferred packages will always be required before the panes are deserialized. This allows the package to register any deserializers for objects displayed in the panes. Deferred packages can contain a 'deferredDeserializers' array in their package.cson. If we attempt to deserialize an object with a deserializer in the list, the package's main module will be required first so it has a chance to register the deserializer. But the package still won't be activated until an activation event occurs. We may want to add an additional optional hook called 'load' which is called at require time. We would not guarantee that the rootView global would exist, but we could give the package a chance to register deserializers etc. For now, registering deserializers is a side-effect of requiring the package.
Atom — Futuristic Text Editing
Check out our documentation on the docs tab.
Building from source
Requirements
- Mountain Lion
- The Setup™ or Boxen
- Xcode (available in the App Store)
Installation
-
gh-setup atom -
cd ~/github/atom && rake install
Description
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%
