mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 16:14:16 +03:00
kill the iframe
This commit is contained in:
parent
d8c721e359
commit
aa5032f145
@ -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>
|
||||
|
@ -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
|
||||
|
@ -95,5 +95,5 @@
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<iframe src="editor.html" width="100%" height="100%"></iframe>
|
||||
<%= editor %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user