-var dirPrefix = "./"; -var landingPage = 'false' -var versions = [] mixin doctype !!! 5 mixin head meta(charset="utf-8") //- N.B. http://blog.yjl.im/2011/01/bad-value-x-ua-compatible-for-attribute.html meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1") -if (isIndex) title #{title} -else title #{classId} - #{title} meta(name="generator", content="c9-doc-build") meta(name="description", content="Ace API documentation for the online code editor.") meta(name="author", content="Garen J. Torikian") meta(name="viewport", content="width=device-width,initial-scale=1") link(rel="stylesheet", href="#{dirPrefix}resources/csses/bootstrap.min.css") link(rel="stylesheet", href="#{dirPrefix}resources/csses/prettify.css") link(rel="stylesheet", href="#{dirPrefix}resources/csses/ace_api.css") link(href="#{dirPrefix}resources/images/favicon.ico", rel="icon", type="image/x-icon") script(src="#{dirPrefix}resources/javascripts/jquery.js") script(src="#{dirPrefix}resources/javascripts/clicker.js") script(src="#{dirPrefix}resources/javascripts/jquery.collapse.js") script(src="#{dirPrefix}resources/javascripts/jquery.cookie.js") script(src="#{dirPrefix}resources/javascripts/bootstrap-dropdown.js") script(src="#{dirPrefix}resources/javascripts/jquery-scrollspy.js") script(script src="#{dirPrefix}resources/javascripts/prettify-extension.js") mixin navBar div.navbar.navbar-fixed-top div.navbar-inner div#topSection.container span.brand ul.nav.topLinks li#ace_site a(href='../index.html') Ace li#ace_api.active a(href='index.html') Ace API Reference form(id='searchbox', action='', class='navbar-search pull-right') input(class='search-query span3', name='query', type='text', placeholder="Search the API", title="Search across all the documentation") mixin footer div#footer .footerInner .footer-text.pull-right p About Cloud9 | Ace & Cloud9 IDE are © Ajax.org 2012 mixin endingScripts // scripts concatenated and minified via ant build script //- // end scripts //if lt IE 7 script(src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js") script window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})}) mixin identifyBuild(tree, type) landingPage = 'true' -dirPrefix = './' mixin markdown(text, inline) != markdown(text, inline)