From 4052efcab4548aa5626aee5af7de67fa11014692 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 11 Nov 2011 11:19:39 -0800 Subject: [PATCH] window.path is used everywhere now. Still on the fence about it --- src/startup.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/startup.coffee b/src/startup.coffee index ab7818f6b..4af9caf71 100644 --- a/src/startup.coffee +++ b/src/startup.coffee @@ -33,10 +33,9 @@ atom.app = new App for name, method of atom.app atom[name] = atom.app[name] -path = $atomController.path?.toString() -if handler = Document.handler path +if handler = Document.handler window.path atom.document = new handler - atom.document.open path + atom.document.open window.path else throw "I DON'T KNOW ABOUT #{path}"