You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -173,16 +173,14 @@ <h1>Embedding Ace in Your Site</h1>
173
173
common operations, such as setting a different language mode or
174
174
getting the contents from the editor.
175
175
</p>
176
-
<h2>Loading Ace from a Local URL</h2>
177
-
<p>The above code is all you need to embed Ace in your site (including setting language modes
178
-
and themes). Plus it's super fast because it's on Amazon's distributed content network.
179
-
</p>
180
-
<p>But, if you want to clone host Ace locally you can
176
+
<h2>Loading Ace from a Local URL</h2>
177
+
<p>If you want to clone and host Ace locally you can
181
178
use one of the <ahref="https://github.com/ajaxorg/ace-builds/">pre-packaged versions</a>. Just copy
182
179
one of <code>src*</code> subdirectories somewhere into your project, or use RequireJS to load the
183
-
contents of <ahref="https://github.com/ajaxorg/ace/tree/master/lib/ace">lib/ace</a> as <code>ace</code>:
180
+
contents of <ahref="https://github.com/ajaxorg/ace/tree/master/lib/ace">lib/ace</a> folder as <code>ace</code>:
181
+
</p>
182
+
<p>The packaged version can also be loaded from CDN's such as <ahref="http://www.jsdelivr.com/#!ace">jsDelivr</a> or <ahref="http://cdnjs.com/libraries/ace/">cdnjs</a>.
0 commit comments