Minor updates

This commit is contained in:
Garen Torikian 2013-01-05 00:06:28 -08:00 • committed by nightwing
commit 37a1a082a6
2 changed files with 15 additions and 24 deletions

View file

@ -64,26 +64,26 @@
</p>
<div id="ace_editor_demo">/**
* In fact, you're looking at Ace right now. Go ahead and play with it!
*
* In fact, you're looking at Ace right now. Go ahead and play with it!
*
* We are currently showing off the JavaScript mode. Ace supports over 60
* language modes and 24 color themes!
*/
function add(x, y) {
* language modes and 24 color themes!
*/
function add(x, y) {
var resultString = "Hello, Ace! The result of your math is: ";
var result = x + y;
return resultString + result;
}
var addResult = add(3, 2);
console.log(addResult);
</div>
var result = x + y;
return resultString + result;
}
var addResult = add(3, 2);
console.log(addResult);
</div>
<p id="embed_link"><a href="#nav=embedding">Learn how to embed this in your own site</a></p>
<p class="highlight_note">Looking for a more full-featured demo? Check out the
<a href="http://ace.ajax.org/build/kitchen-sink.html" target="_blank">kitchen sink</a>.
</p>
<h2>Features</h2>
<ul class="content-list">
<li><a href="http://pcwalton.blogspot.com/2010/11/syntax-highlighting-specification.html">Syntax highlighting</a> for over 60 languages (TextMate/Sublime <em>.tmlanguage</em> files can be imported)</li>
<li><a href="http://pcwalton.blogspot.com/2010/11/syntax-highlighting-specification.html">Syntax highlighting</a> for over 60 languages (TextMate/Sublime Text<em>.tmlanguage</em> files can be imported)</li>
<li>Over 20 themes (TextMate/Sublime Text <em>.tmtheme</em> files can be imported)</li>
<li>Automatic indent and outdent</li>
<li>An optional command line</li>
@ -138,7 +138,7 @@
<div id="embedded_ace_code">&lt;!DOCTYPE html>
&lt;html lang="en">
&lt;head>
&lt;title>Ace in Action&lt;/title>
&lt;title>Ace in Action&lt;/title>
&lt;style type="text/css" media="screen">
#editor {
position: absolute;
@ -703,7 +703,7 @@ module.exports = {
<div id="sidebarContainer" class="span2">
<div id="sidebar">
<div id="well">
<form id="searchbox" action="" class="navbar-search"> <input name="query" type="text" placeholder="Search the API" title="Search across all the documentation" class="search-query span3" /></form>
<form id="searchbox" action="" class="navbar-search"> <input name="query" type="text" placeholder="Search the API" title="Search across all the documentation" class="search-query span2" /></form>
<ul class="menu">
<li>
<div class="menu-item"><a href="./api/ace.html" class="menuLink namespace">Ace</a></div>