From 5191acd5a68ea7b87492735b3f8c926bc12dfc65 Mon Sep 17 00:00:00 2001 From: KaiSD Date: Tue, 3 Sep 2019 11:44:10 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'ace/index.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ace/index.html | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/ace/index.html b/ace/index.html index c6cc01d..80988a9 100644 --- a/ace/index.html +++ b/ace/index.html @@ -1,29 +1,39 @@ -ACE in Action - + -
function foo(items) { - var x = "All this is syntax highlighted"; - return x; -}
- - +
function foo(items) {
+    var i;
+    for (i = 0; i < items.length; i++) {
+        alert("Ace Rocks " + items[i]);
+    }
+}
+ + + \ No newline at end of file