update the site
This commit is contained in:
parent
142761d86f
commit
ce329df39b
4 changed files with 18 additions and 25 deletions
16
index.html
16
index.html
|
|
@ -173,16 +173,14 @@ console.log(addResult);
|
|||
common operations, such as setting a different language mode or
|
||||
getting the contents from the editor.
|
||||
</p>
|
||||
<h2>Loading Ace from a Local URL</h2>
|
||||
<p>The above code is all you need to embed Ace in your site (including setting language modes
|
||||
and themes). Plus it's super fast because it's on Amazon's distributed content network.
|
||||
</p>
|
||||
<p>But, if you want to clone host Ace locally you can
|
||||
<h2>Loading Ace from a Local URL</h2>
|
||||
<p>If you want to clone and host Ace locally you can
|
||||
use one of the <a href="https://github.com/ajaxorg/ace-builds/">pre-packaged versions</a>. Just copy
|
||||
one of <code>src*</code> subdirectories somewhere into your project, or use RequireJS to load the
|
||||
contents of <a href="https://github.com/ajaxorg/ace/tree/master/lib/ace">lib/ace</a> as <code>ace</code>:
|
||||
contents of <a href="https://github.com/ajaxorg/ace/tree/master/lib/ace">lib/ace</a> folder as <code>ace</code>:
|
||||
</p>
|
||||
<p>The packaged version can also be loaded from CDN's such as <a href="http://www.jsdelivr.com/#!ace">jsDelivr</a> or <a href="http://cdnjs.com/libraries/ace/">cdnjs</a>.
|
||||
</p>
|
||||
<pre><code class="javascript">var ace = require("lib/ace");</code></pre>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="howto">
|
||||
<h1>Working with Ace</h1>
|
||||
|
|
@ -1117,7 +1115,7 @@ if (match) {
|
|||
<a href="http://bakemycss.mypathforpython.appspot.com/">BakeMyCss</a>
|
||||
</li>
|
||||
<li style="width: 248px;">
|
||||
<img src="http://codecombat.com/images/logo.png" style="left: 48px; top: 10px;">
|
||||
<img src="http://codecombat.com/images/pages/base/logo.png" style="left: 48px; top: 10px;">
|
||||
<a href="http://codecombat.com">Code Combat</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -1178,7 +1176,7 @@ if (match) {
|
|||
</li>
|
||||
<li id="add_your_site">
|
||||
<p>+</p>
|
||||
<a href="mailto:ace@c9.io?subject=Put%20me%20on%20the%20Ace%20site!&body= adfadf asdf">Your Site Here</a>
|
||||
<a href="mailto:ace@c9.io?subject=Put%20me%20on%20the%20Ace%20site!">Your Site Here</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue