mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
26c89f71b2990e5c7e9a896628d8d6902d5689dd
Ideally both window closing and reloading should use 'beforeunload' to control whether the unloading should continue, however since the save as dialog is asynchronous, we have to prevent unloading first and then continue after user's confirmation. And since we can not distinguish whether the window is reloading or closing in the 'beforeunload' handler, we do not know what to continue after user's confirmation. So I have to rely on BrowserWindow's 'close' event to let user decide whether window should be closed.
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%
