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

@ -177,9 +177,6 @@ mixin render_starting_tabs(obj, pos)
h1.memberHeader h1.memberHeader
-var heading = obj.path -var heading = obj.path
span.name #{heading} span.name #{heading}
-if (pos >= 0)
span.editInC9
mixin formatGHHref(obj.file)
-if (true || obj.filename.indexOf("index") < 0) -if (true || obj.filename.indexOf("index") < 0)
ul(class='nav tabs pos#{pos}', data-tabs='tabs') ul(class='nav tabs pos#{pos}', data-tabs='tabs')
@ -218,9 +215,3 @@ mixin links(collection)
for obj in collection for obj in collection
li li
mixin link(obj) mixin link(obj)
mixin formatGHHref(url)
url = url.substring(url.indexOf("ace/lib"))
-url = url.replace(/\/{2,}/g, "/").replace(/\//g,"%2F")
<a href='http://c9.io/open/git/?url=git%3A%2F%2Fgithub.com%2Fajaxorg%2Face.git' title='Edit in Cloud9 IDE'>[edit]</a>

View file

@ -83,7 +83,7 @@
</p> </p>
<h2>Features</h2> <h2>Features</h2>
<ul class="content-list"> <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>Over 20 themes (TextMate/Sublime Text <em>.tmtheme</em> files can be imported)</li>
<li>Automatic indent and outdent</li> <li>Automatic indent and outdent</li>
<li>An optional command line</li> <li>An optional command line</li>
@ -703,7 +703,7 @@ module.exports = {
<div id="sidebarContainer" class="span2"> <div id="sidebarContainer" class="span2">
<div id="sidebar"> <div id="sidebar">
<div id="well"> <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"> <ul class="menu">
<li> <li>
<div class="menu-item"><a href="./api/ace.html" class="menuLink namespace">Ace</a></div> <div class="menu-item"><a href="./api/ace.html" class="menuLink namespace">Ace</a></div>