kill the iframe

This commit is contained in:
Chris Wanstrath 2011-08-26 22:55:49 -07:00
parent d8c721e359
commit aa5032f145
3 changed files with 5 additions and 9 deletions

View File

@ -1,5 +1,3 @@
<html>
<head>
<style>
* {
margin: 0;
@ -13,8 +11,7 @@
font: 18px Inconsolada, Monaco, Courier;
}
</style>
</head>
<body>
<div id="editor"></div>
<script src="ace/ace.js" type="text/javascript" charset="utf-8"></script>
@ -30,5 +27,3 @@
<script src="lib/osx.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/atomicity.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

View File

@ -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

View File

@ -95,5 +95,5 @@
</div>
<div class="content">
<iframe src="editor.html" width="100%" height="100%"></iframe>
<%= editor %>
</div>