diff --git a/doc/template/jade/lib.jade b/doc/template/jade/lib.jade index 85fa517a..62ee92d2 100644 --- a/doc/template/jade/lib.jade +++ b/doc/template/jade/lib.jade @@ -177,9 +177,6 @@ mixin render_starting_tabs(obj, pos) h1.memberHeader -var heading = obj.path span.name #{heading} - -if (pos >= 0) - span.editInC9 - mixin formatGHHref(obj.file) -if (true || obj.filename.indexOf("index") < 0) ul(class='nav tabs pos#{pos}', data-tabs='tabs') @@ -217,10 +214,4 @@ mixin links(collection) ul.method-list for obj in collection li - mixin link(obj) - -mixin formatGHHref(url) - url = url.substring(url.indexOf("ace/lib")) - - -url = url.replace(/\/{2,}/g, "/").replace(/\//g,"%2F") - [edit] \ No newline at end of file + mixin link(obj) \ No newline at end of file diff --git a/index.html b/index.html index 1ce6da2d..b0e3af9d 100644 --- a/index.html +++ b/index.html @@ -64,26 +64,26 @@

/** - * 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); -
+ var result = x + y; + return resultString + result; +} +var addResult = add(3, 2); +console.log(addResult); +

Looking for a more full-featured demo? Check out the kitchen sink.

Features