+
-
+
Sets the orientation.
+
Arguments
| orientation | Number | Required. The new orientation value
-Sets the orientation.
|
diff --git a/doc/site/js/main.js b/doc/site/js/main.js
index 83b08d61..365ab05c 100644
--- a/doc/site/js/main.js
+++ b/doc/site/js/main.js
@@ -4,7 +4,9 @@ $(function() {
hljs.initHighlighting();
ace.config.set("workerPath", "build/src-min");
editor = ace.edit("ace_editor_demo");
+ editor.container.style.opacity = "";
embedded_editor = ace.edit("embedded_ace_code");
+ embedded_editor.container.style.opacity = "";
editor.getSession().setMode("ace/mode/javascript");
editor.getSession().setMode("ace/mode/javascript");
embedded_editor.getSession().setMode("ace/mode/html");
@@ -31,6 +33,7 @@ $(function() {
var _self = $(this);
$("#apiHolder").load($(this).attr("href") + " #documentation", function(){
$("#apiHolder").removeClass("apiIntro").removeClass("span9");
+ $("#documentation").removeClass("span9").addClass("span7");
ux();
setupClicker();
diff --git a/doc/site/style.css b/doc/site/style.css
index 94ac38f9..8c4c4ed9 100644
--- a/doc/site/style.css
+++ b/doc/site/style.css
@@ -206,8 +206,8 @@ UL.content-list li {
}
ul.menu-list {
- padding: 0;
- margin: 15px 0 20px 0;
+ padding: 15px 0;
+ margin: 0 0 20px 0;
list-style-type: none;
line-height: 16px;
overflow: auto;
@@ -235,7 +235,7 @@ ul.menu-list li {
-webkit-transition: box-shadow 0.4s;
-moz-transition: box-shadow 0.4s;
border: 1px solid #999;
- background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%),
+ background-image: -webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%),
-webkit-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%),
-webkit-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%),
@@ -243,7 +243,7 @@ ul.menu-list li {
hsl(0,0%,90%) 47%,
hsl(0,0%,78%) 53%,
hsl(0,0%,70%)100%);
- background-image: -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%),
+ background-image: -moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%, .1) 7.5%),
-moz-repeating-linear-gradient(left, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 4%, hsla(0,0%, 0%,.03) 4.5%),
-moz-repeating-linear-gradient(left, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.15) 2.2%),
@@ -475,4 +475,9 @@ p.highlight_note a {
#api {
padding: 0;
+}
+
+/*https://github.com/twitter/bootstrap/issues/5262*/
+img {
+ max-width: none;
}
\ No newline at end of file
diff --git a/index.html b/index.html
index d5455876..56a2765e 100644
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
-
+
@@ -65,7 +65,7 @@
and is the successor of the Mozilla Skywriter (Bespin) project.
- /**
+
/**
* In fact, you're looking at ACE right now. Go ahead and play with it!
*
* We are currently showing off the JavaScript mode. ACE has support for 45
@@ -139,7 +139,7 @@ console.log(addResult);
Embedding Ace in Your Site
Ace can be easily embedded into a web page. Just copy the code below:
-
<!DOCTYPE html>
+
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACE in Action</title>
@@ -704,7 +704,7 @@ module.exports = {