these are the changes to remove cockpit support from ace (or add it in if reversed)

This commit is contained in:
Joe Walker 2011-01-12 17:35:39 +00:00
commit 15e1dbf17b
3 changed files with 3 additions and 19 deletions

View file

@ -120,7 +120,7 @@ copy({
source: [
'demo/mini_require.js',
pilot,
cockpit,
// cockpit,
ace,
'demo/build_boot.js'
],

View file

@ -6,21 +6,7 @@
<title>Editor</title>
<style type="text/css" media="screen">
body { overflow: hidden; }
#editor { position: absolute; top: 0; bottom: 27px; left: 0; right: 0; }
#cockpitInput {
position: absolute; height: 20px; bottom: 0; left: 0; right: 0;
font-size: 90%; width: 100%;
font-family: Consolas, Inconsolata, Courier New, monospace;
}
#cockpitOutput {
padding: 10px;
margin: 0 15px;
border: 1px solid #AAA;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 4px; border-top-right-radius: 4px;
background: #DDD; color: #000;
}
#editor { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
</style>
</head>
<body>
@ -30,8 +16,6 @@
alert("Ace Rocks " + items[i]);
}
}</div>
<input id="cockpitInput" type="text"/>
<script src="ace-uncompressed.js" type="text/javascript" charset="utf-8"></script>
<script>

View file

@ -40,7 +40,7 @@ var deps = [ "pilot/fixoldbrowsers", "pilot/plugin_manager", "pilot/settings",
require(deps, function() {
var catalog = require("pilot/plugin_manager").catalog;
catalog.registerPlugins([ "pilot/index", "cockpit/index" ]);
catalog.registerPlugins([ "pilot/index" ]);
});
var ace = {