From 8b906e40c112a3d32c4ba7607fa79f14804ef75c Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 28 Oct 2011 10:58:16 -0700 Subject: [PATCH] actually working --- index.html | 8 +++++--- src/editor.coffee | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3d8e16850..ff9fd4f26 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ background-color: blue; } - #editor { + #ace-editor { position: relative; -webkit-box-flex: 1; font: 18px Inconsolata, Monaco, Courier; @@ -59,7 +59,7 @@
-
+
@@ -72,7 +72,9 @@ atomController.webView.inspector.showConsole(true) } - require('startup'); + window.onload = function() { + require('startup'); + } diff --git a/src/editor.coffee b/src/editor.coffee index 5b457b735..cfc9055af 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -30,6 +30,7 @@ class Editor @ace.getSession().setTabSize 2 @ace.setShowInvisibles(true) @ace.setPrintMarginColumn 78 + @ace.setSession @newSession() #@ace.getSession().on 'change', -> @window.setDirty true Event.on 'window:open', (e) => @open e.details