From 42e528547a6be37a8ca813ad4f6b3949d8e49370 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 9 Nov 2011 19:37:01 -0800 Subject: [PATCH] atom.open and atom.close --- src/startup.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/startup.coffee b/src/startup.coffee index 49e310c7f..5eb623d72 100644 --- a/src/startup.coffee +++ b/src/startup.coffee @@ -22,5 +22,9 @@ atom.settings = new Settings atom.extensions = new ExtensionManager atom.app = new App +# atom.open, atom.close, etc. +for name, method of atom.app + atom[name] = atom.app[name] + require 'window' window.startup() \ No newline at end of file