mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
https://img.skitch.com/20110828-rrfnqet2y2yrxq6witst6mrscx.png fixes #3 atomicity modules that want to export an api must use define(). this mirrors ace's module definition style so it should fit in fine. $, _, and CoffeeScript are now global scripts show up as loaded before: https://img.skitch.com/20110828-japr2cp4ucbr4a1kmp9degs3t.png after: https://img.skitch.com/20110828-txc782k47gn4rb67mhbujsgkw5.png
82 lines
1.1 KiB
HTML
82 lines
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#app-horizontal {
|
|
background-color: orange;
|
|
display: -webkit-box;
|
|
height: 100%;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
}
|
|
|
|
#app-vertical {
|
|
background-color: yellow;
|
|
display: -webkit-box;
|
|
-webkit-box-flex: 1;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.main {
|
|
width: 100%;
|
|
-webkit-box-flex: 1;
|
|
background-color: black;
|
|
}
|
|
|
|
.left {
|
|
width: 100px;
|
|
background-color: gray;
|
|
}
|
|
|
|
.right {
|
|
width: 100px;
|
|
background-color: green;
|
|
}
|
|
|
|
.top {
|
|
height: 100px;
|
|
background-color: purple;
|
|
}
|
|
|
|
.bottom {
|
|
height: 100px;
|
|
background-color: blue;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id='app-horizontal'>
|
|
<div id='app-vertical'>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#editor {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
font: 18px Inconsolada, Monaco, Courier;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
require('underscore');
|
|
require('jquery');
|
|
require('coffee-script');
|
|
require('editor');
|
|
</script>
|
|
|
|
</html>
|
|
|