mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
f0448ba231c55be7cdb82cbdb20b864c4ece6db4
When user wants to close the window, the 'beforeunload' event would be called, then the closing would be cancelled and the 'window:close' command would be triggered. In the 'window:close' handler, a confirm dialog could be showed if there are unsaved contents, and if the window is really meant to be closed, the window would be tried to be closed again and this time 'beforeunload' handler wont't prevent it.
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%
