fixed bower & added dependencies & cleanup

This commit is contained in:
Kevin Jahns
2016-02-23 15:41:22 +01:00
parent 54529ab1e7
commit 2f7349b712
2934 changed files with 957878 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@@ -0,0 +1,25 @@
#wrapper {
position:relative;
overflow:hidden;
}
#wrapper .content .column1 {
margin:0 16px 0 15px;
}
#header .content .signature {
font-size:18px;
bottom:0;
}
UL.menu-list LI {
font-size:22px;
}
UL.menu-footer LI {
font-size:22px;
}
PRE{
font-size:22px;
}

View File

@@ -0,0 +1,9 @@
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31998201-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

View File

@@ -0,0 +1,187 @@
var editor;
var embedded_editor;
$(function() {
if (typeof ace !== "undefined") {
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 = "";
embedded_editor.session.setMode("ace/mode/html");
embedded_editor.setAutoScrollEditorIntoView(true);
embedded_editor.setOption("maxLines", 40);
editor.setOptions({
maxLines: 30,
mode: "ace/mode/javascript",
autoScrollEditorIntoView: true
});
ace.config.loadModule("ace/ext/emmet", function() {
ace.require("ace/lib/net").loadScript("http://cloud9ide.github.io/emmet-core/emmet.js", function() {
embedded_editor.setOption("enableEmmet", true);
editor.setOption("enableEmmet", true);
});
});
ace.config.loadModule("ace/ext/language_tools", function() {
embedded_editor.setOptions({
enableSnippets: true,
enableBasicAutocompletion: true
});
editor.setOptions({
enableSnippets: true,
enableBasicAutocompletion: true
});
});
} else {
document.body.insertAdjacentHTML("afterbegin", '<div class="bs-docs-example">\
<div class="alert alert-error">\
<button type="button" class="close" data-dismiss="alert">\xd7</button>\
<strong>Oh No!</strong> Couldn\'t load <code>build/src/ace.js</code>.<br>\
You can build it by running <code>npm install ; node Makefile.dryice.js</code><br>\
Or download older version by running <code>git submodule update --init --recursive</code><br>\
</div>\
</div>');
}
$("ul.menu-list").mousedown(function(e) {
if (e.button === 1) {
e.preventDefault();
}
});
$("ul.menu-list li").click(function(e) {
if (e.target.tagName !== "A") {
var href = $(this).find("a").attr("href");
if (e.button == 1)
window.open(href, "_blank");
else
window.location = href;
}
});
// used when page is access directly
function magicClickInterceptor(e) {
e.preventDefault();
var state = {};
state.api = $(this).attr("href").substring(6, $(this).attr("href").length - 5);
$.bbq.pushState(state);
var _self = $(this);
$("#apiHolder").load($(this).attr("href") + " #documentation", function(){
$("#apiHolder").removeClass("apiIntro").removeClass("span9");
$("#documentation").removeClass("span9").addClass("span7");
ux();
setupClicker();
// handles dropping in from new link
var section = $.bbq.getState("section");
if (section) {
$("li#dropdown_" + section.replace(/\./g, '\\.') + " a").triggerHandler('click');
}
//setupDisqus(_self.attr("href"));
});
}
$('.menu-item a').click(magicClickInterceptor);
$('a.argument').click(magicClickInterceptor);
$('a.external').click(function(e) {
e.preventDefault();
});
var tabs = $("#tabnav"),
tab_a_selector = "a";
var firstLoad = true;
tabs.find(tab_a_selector).click(function(e) {
e.preventDefault();
if ($(this).attr("href") === "/") {
window.location = "http://ace.ajax.org";
return;
}
if ($(this).attr("href").indexOf("#api") === 0) {
$("#top_container").addClass("collapse");
scrollIntoPosition(null, 0);
}
else if ($(this).is(":visible")) {
if (firstLoad) {
firstLoad = false;
setTimeout(function() {
$("#top_container").removeClass("collapse");
scrollIntoPosition(e.target);
}, 700);
}
else {
$("#top_container").removeClass("collapse");
scrollIntoPosition(e.target);
}
}
function scrollIntoPosition(el, overridePosition) {
if (typeof overridePosition !== "undefined") {
$("body").stop().animate({
scrollTop: overridePosition
}, 400);
}
else if ($("body").scrollTop() > 345) {
$("body").stop().animate({
scrollTop: ($(el).offset().top - 10)
}, 400);
}
}
$(this).tab("show");
var state = {};
state.nav = $(this).attr("href").substr(1);
$.bbq.pushState(state);
});
$('#tabnav a[data-toggle="tab"]').on('shown', function (e) {
$(".tab-content .tab-pane.active .ace_editor").each(function(i, el){
el.env.onResize();
});
});
$(window).on("hashchange", function(e) {
_gaq.push(['_trackPageview',location.pathname + location.search + location.hash]);
tabs.each(function() {
var idx = $.bbq.getState("nav") || "about";
var section = e.fragment.split("&")[1] || "";
$(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click');
// handles dropping in from new link
var api = $.bbq.getState("api");
if (api) {
$(tab_a_selector + "[href='./api/" + api + ".html']").triggerHandler('click');
}
});
}).trigger("hashchange");
highlight();
});
function highlight() {
var highlighter = ace.require("ace/ext/static_highlight")
var dom = ace.require("ace/lib/dom")
function qsa(sel) {
var els = document.querySelectorAll(sel);
var result = [];
for (var i = 0, l = els.length; i < l; i++)
result[i] = els[i];
return result;
}
qsa("code[class]").forEach(function(el) {
var m = el.className.match(/language-(\w+)|(javascript)/);
if (!m) return
var mode = "ace/mode/" + (m[1] || m[2]);
highlighter.highlight(el, {mode: mode, theme: "ace/theme/xcode"})
});
}

View File

@@ -0,0 +1,509 @@
body {
margin:0;
padding:0;
background-color:#e6f5fc;
font-family: Helvetica, Arial;
}
#ace_editor_demo, #embedded_ace_code {
height: 275px;
border: 1px solid #DDD;
border-radius: 4px;
border-bottom-right-radius: 0px;
margin-top: 5px;
}
#embedded_ace_code {
height: 525px;
}
h1, h2, h3, h4, h5, h6 {
font-family: Helvetica;
font-weight: 100;
margin:0;
padding:0;
}
h2, h3, h4, h5, h6 {
padding-top: 30px;
border-bottom: 1px solid #bedaea;
}
H2 {
font-size:28px;
color:#263842;
padding-bottom:6px;
}
H3 {
font-size:22px;
color:#253741;
margin-bottom:8px;
}
H4 {
font-size:21px;
color:#222222;
margin-bottom:8px;
}
P {
padding:13px 0;
margin:0;
line-height:21px;
font-size: 15px;
}
UL{
font-size: 15px;
}
#header {
height: 93px;
position: relative;
background: url(images/background.png) repeat-x 0 0;
border-bottom: 1px solid #C9E8FA;
margin-top: 40px;
}
#header .content .signature {
font-family:Trebuchet MS;
font-size:11px;
color:#ebe4d6;
position:absolute;
bottom:5px;
right:42px;
letter-spacing : 1px;
}
.content {
width:970px;
position:relative;
margin:0 auto;
}
#header .content {
height: 100%;
z-index: 90000;
}
#header .content .logo {
width: 141px;
height: 92px;
background: url(images/logo_half.png) no-repeat 0 0;
position: absolute;
top: -14px;
left: 0;
}
#header .content .title {
width: 605px;
height: 58px;
background: url(images/ace.png) no-repeat 0 0;
position: absolute;
top: 22px;
left: 329px;
}
#wrapper {
background:url(images/body_background.png) repeat-x 0 -15px;
min-height:250px;
}
#wrapper .content {
font-family:Arial;
font-size:14px;
color:#222222;
width: 960px;
}
#wrapper .content .column1 {
position:relative;
overflow:hidden;
float:left;
width:315px;
margin-right:31px;
}
#wrapper .content .column2 {
position:relative;
overflow:hidden;
float:left;
/*width:600px;*/
}
#top_container h1 {
font-size: 68px;
line-height: 60px;
width: 515px;
float: left;
font-weight: 100;
font-family: Helvetica;
padding: 65px 0 0 14px;
color: #333;
}
#top_container {
background: url(images/header-bg.png) 0 0;
overflow: hidden;
padding: 11px 36px 19px 40px;
height: 267px;
-webkit-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out;
-moz-transition: height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out;
opacity: 1;
margin-top: 25px;
}
#top_container.collapse {
padding: 0px;
height: 0px;
opacity: 0;
margin: 0;
}
#page_logo {
padding: 35px 0 15px 0;
width: 350px;
float: right;
text-align: center;
height: 220px;
}
.fork_on_github {
width:310px;
height:80px;
background:url(images/fork_on_github.png) no-repeat 0 0;
position:relative;
overflow:hidden;
margin-top:49px;
cursor:pointer;
}
.fork_on_github:hover {
background-position:0 -80px;
}
.divider {
height: 1px;
background-color:#bedaea;
margin-bottom:3px;
}
.menu, .site-menu {
padding: 25px 0 0 35px;
}
UL.content-list {
padding: 15px 0 15px 20px;
margin:0;
}
UL.content-list li {
padding-left: 10px;
padding-bottom: 3px;
}
ul.menu-list {
padding: 15px 0;
margin: 0 0 20px 0;
list-style-type: none;
line-height: 16px;
overflow: auto;
}
ul.menu-list li {
color: #2557B4;
font-family: Helvetica, Trebuchet MS;
font-size: 12px;
padding: 5px;
cursor: pointer;
display: block;
float: left;
margin-right: 15px;
margin-bottom: 20px;
width: 100px;
height: 90px;
border-radius: 5px;
position: relative;
background: rgba(255, 255, 255, 0.7);
margin-left: 22px;
margin-top: 20px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
-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%),
-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%),
-webkit-linear-gradient(-90deg, hsl(0,0%,78%) 0%,
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%),
-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%),
-moz-linear-gradient(-90deg, hsl(0,0%,78%) 0%,
hsl(0,0%,90%) 47%,
hsl(0,0%,78%) 53%,
hsl(0,0%,70%)100%);
}
ul.menu-list li:hover {
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
ul.menu-list li a {
position: absolute;
bottom: 0px;
left: 0px;
color: white;
text-align: center;
font-weight: bold;
text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
width: 100%;
display: block;
background: rgba(0, 0, 0, 0.6);
line-height: 12px;
padding: 4px 0;
}
UL.menu-list LI a:hover {
text-decoration: none;
}
li#add_your_site p {
font-size: 32px;
border: 3px solid #34A034;
color: #34A034;
border-radius: 34px;
padding: 3px 4px 4px 5px;
width: 20px;
height: 22px;
line-height: 18px;
position: relative;
left: 33px;
top: 22px;
background: #fff;
}
ul.menu-list li#add_your_site a {
color: #A3EEA3;
}
/* This is the animation code. */
@-webkit-keyframes example {
0% { -webkit-transform: rotate(0deg); }
25% { -webkit-transform: rotate(3deg); }
50% { -webkit-transform: rotate(0deg); }
75% { -webkit-transform: rotate(-3deg); }
}
/* This is the element that we apply the animation to. */
li#add_your_site {
-webkit-animation-name: example;
-webkit-animation-duration: 0.4s;
-webkit-animation-timing-function: ease; /* ease is the default */
-webkit-animation-delay: 0s; /* 0 is the default */
-webkit-animation-iteration-count: infinite; /* 1 is the default */
-webkit-animation-direction: alternate; /* normal is the default */
}
A {
color:#2557b4;
text-decoration:none;
}
A:hover {
text-decoration:underline;
}
#footer {
height:40px;
position:relative;
overflow:hidden;
background:url(images/bottombar.png) repeat-x 0 0;
position:relative;
margin-top:40px;
}
UL.menu-footer {
padding:0;
margin:8px 11px 0 0;
list-style-type:none;
float:right;
}
UL.menu-footer LI {
color:white;
font-family:Arial;
font-size:12px;
display:inline-block;
margin:0 1px;
}
UL.menu-footer LI A {
color:#8dd0ff;
text-decoration:none;
}
UL.menu-footer LI A:hover {
text-decoration:underline;
}
.nav-pills.nav {
margin: 10px 0 25px 0;
padding: 0;
border-radius: 5px;
border: 1px solid #d7d7d7;
background: #eeeeee;
background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc));
background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%);
background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
overflow: hidden;
}
.nav-pills > .active > a, .nav-pills > .active > a:hover {
color: white;
background-color: #555;
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
text-shadow: 0px 0px 3px #000;
}
.nav-tabs > li > a, .nav-pills > li > a {
padding-right: 17px;
padding-left: 17px;
border-right: 1px solid #bbb;
border-radius: 0;
margin: 0;
line-height: 25px;
font-size: 14px;
color: #333;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
box-shadow: 0 0 1px rgba(255, 255, 255, 1);
-moz-box-shadow: 0 0 1px rgba(255, 255, 255, 1);
-webkit-transition: background 0.2s;
-moz-transition: background 0.2s;
}
.nav.nav-pills li:first-child > a {
padding-left: 28px;
padding-right: 28px;
}
.nav.nav-pills li:first-child > a > img {
width: 34px;
}
.nav.nav-pills li:last-child > a {
border-right: none;
box-shadow: none;
-moz-box-shadow: none;
}
.tab-content {
margin-bottom: 50px;
}
.tab-content > .active, .pill-content > .active {
padding: 25px 30px;
}
#top_container, .tab-content > .active, .pill-content > .active {
border: 1px solid #DDD;
border-radius: 5px;
-moz-border-radius: 5px;
}
.tab-content > .active, .pill-content > .active {
background: rgba(255, 255, 255, 0.7);
}
pre .xml .javascript, pre .xml .css {
opacity: 1;
}
#embed_link {
text-align: right;
padding-top: 0;
}
#embed_link a {
color: #059C05;
font-weight: 100;
font-family: helvetica;
font-size: 13px;
display: inline-block;
padding: 2px 10px;
background: #f4f4f4;
border: 1px solid #ddd;
border-top: none;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 1);
text-decoration: none;
}
p.highlight_note {
padding: 8px 35px 8px 14px;
margin-top: 10px;
color: #A0762E;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #FCF8E3;
border: 1px solid #CA9C44;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
p.highlight_note a {
color: #537CC7;
}
.prod_no_image {
position: relative; left: -10px; top: -12px;
}
#api {
padding: 0;
}
/*https://github.com/twitter/bootstrap/issues/5262*/
img {
max-width: none;
}
.text-logo{
color: black;
font-size: 24px;
font-weight: lighter;
margin-top: 23px;
text-align: center;
text-shadow: 1px 17px 2px gray, 1px 1px 2px gray;
}
.menu-list>li>img {
position: relative;
}
.rotating-logo {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
.rotating-logo:hover {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}