From aa5032f145d5604722e48856b1d78346ed159bd2 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Fri, 26 Aug 2011 22:55:49 -0700 Subject: [PATCH] kill the iframe --- HTML/editor.html | 7 +------ HTML/lib/tabs.coffee | 5 +++-- HTML/tabs.html | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/HTML/editor.html b/HTML/editor.html index a596351d4..b073ddbc6 100644 --- a/HTML/editor.html +++ b/HTML/editor.html @@ -1,5 +1,3 @@ - - - - +
@@ -30,5 +27,3 @@ - - diff --git a/HTML/lib/tabs.coffee b/HTML/lib/tabs.coffee index f71c433ec..60fd380be 100644 --- a/HTML/lib/tabs.coffee +++ b/HTML/lib/tabs.coffee @@ -2,9 +2,10 @@ exports.show = -> root = OSX.NSBundle.mainBundle.resourcePath + '/HTML/' - html = OSX.NSString.stringWithContentsOfFile "#{root}/tabs.html" + tabs = OSX.NSString.stringWithContentsOfFile "#{root}/tabs.html" + edit = OSX.NSString.stringWithContentsOfFile "#{root}/editor.html" - Chrome.addPane('main', html) + Chrome.addPane 'main', tabs.replace '<%= editor %>', edit # awesome hover effect if false diff --git a/HTML/tabs.html b/HTML/tabs.html index 14fa2de42..f87132426 100644 --- a/HTML/tabs.html +++ b/HTML/tabs.html @@ -95,5 +95,5 @@
- + <%= editor %>