adding codox
This commit is contained in:
parent
e7240e01d8
commit
ff61655e7e
@ -0,0 +1,24 @@
|
||||
{:input1 1, :output1 "1"}
|
||||
{:input1 2, :output1 "2"}
|
||||
{:input1 3, :output1 "Fizz"}
|
||||
{:input1 4, :output1 "4"}
|
||||
{:input1 5, :output1 "Buzz"}
|
||||
{:input1 6, :output1 "Fizz"}
|
||||
{:input1 7, :output1 "7"}
|
||||
{:input1 8, :output1 "8"}
|
||||
{:input1 9, :output1 "Fizz"}
|
||||
{:input1 10, :output1 "Buzz"}
|
||||
{:input1 11, :output1 "11"}
|
||||
{:input1 12, :output1 "Fizz"}
|
||||
{:input1 13, :output1 "13"}
|
||||
{:input1 14, :output1 "14"}
|
||||
{:input1 15, :output1 "FizzBuzz"}
|
||||
{:input1 16, :output1 "16"}
|
||||
{:input1 17, :output1 "17"}
|
||||
{:input1 18, :output1 "Fizz"}
|
||||
{:input1 19, :output1 "19"}
|
||||
{:input1 20, :output1 "Buzz"}
|
||||
{:input1 49995, :output1 "FizzBuzz"}
|
||||
{:input1 49998, :output1 "Fizz"}
|
||||
{:input1 49999, :output1 "49999"}
|
||||
{:input1 50000, :output1 "Buzz"}
|
1000000
PSB2/directory/path/goes/here/datasets/fizz-buzz/fizz-buzz-random.edn
Normal file
1000000
PSB2/directory/path/goes/here/datasets/fizz-buzz/fizz-buzz-random.edn
Normal file
File diff suppressed because it is too large
Load Diff
56
doc/codox/Adding_Genetic_Operators.html
Normal file
56
doc/codox/Adding_Genetic_Operators.html
Normal file
File diff suppressed because one or more lines are too long
119
doc/codox/Adding_Problem.html
Normal file
119
doc/codox/Adding_Problem.html
Normal file
File diff suppressed because one or more lines are too long
19
doc/codox/Adding_Selection_Method.html
Normal file
19
doc/codox/Adding_Selection_Method.html
Normal file
File diff suppressed because one or more lines are too long
6
doc/codox/Experimentation.html
Normal file
6
doc/codox/Experimentation.html
Normal file
File diff suppressed because one or more lines are too long
4
doc/codox/Genetic_Programming_Loop.html
Normal file
4
doc/codox/Genetic_Programming_Loop.html
Normal file
File diff suppressed because one or more lines are too long
14
doc/codox/Genome.html
Normal file
14
doc/codox/Genome.html
Normal file
File diff suppressed because one or more lines are too long
134
doc/codox/Intro.html
Normal file
134
doc/codox/Intro.html
Normal file
File diff suppressed because one or more lines are too long
32
doc/codox/Library_Reference.html
Normal file
32
doc/codox/Library_Reference.html
Normal file
File diff suppressed because one or more lines are too long
15
doc/codox/Selection.html
Normal file
15
doc/codox/Selection.html
Normal file
File diff suppressed because one or more lines are too long
20
doc/codox/Simplification.html
Normal file
20
doc/codox/Simplification.html
Normal file
File diff suppressed because one or more lines are too long
38
doc/codox/Variation.html
Normal file
38
doc/codox/Variation.html
Normal file
File diff suppressed because one or more lines are too long
551
doc/codox/css/default.css
Normal file
551
doc/codox/css/default.css
Normal file
@ -0,0 +1,551 @@
|
||||
body {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: Monaco, DejaVu Sans Mono, Consolas, monospace;
|
||||
font-size: 9pt;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: normal;
|
||||
font-size: 29px;
|
||||
margin: 10px 0 2px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: normal;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
h5.license {
|
||||
margin: 9px 0 22px 0;
|
||||
color: #555;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.document h1, .namespace-index h1 {
|
||||
font-size: 32px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#header, #content, .sidebar {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#header {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 22px;
|
||||
color: #f5f5f5;
|
||||
padding: 5px 7px;
|
||||
}
|
||||
|
||||
#content {
|
||||
top: 32px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow: auto;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
padding: 0 18px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
top: 32px;
|
||||
bottom: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.sidebar.primary {
|
||||
background: #e2e2e2;
|
||||
border-right: solid 1px #cccccc;
|
||||
left: 0;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.sidebar.secondary {
|
||||
background: #f2f2f2;
|
||||
border-right: solid 1px #d7d7d7;
|
||||
left: 251px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
#content.namespace-index, #content.document {
|
||||
left: 251px;
|
||||
}
|
||||
|
||||
#content.namespace-docs {
|
||||
left: 452px;
|
||||
}
|
||||
|
||||
#content.document {
|
||||
padding-bottom: 10%;
|
||||
}
|
||||
|
||||
#header {
|
||||
background: #3f3f3f;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 18px;
|
||||
font-weight: lighter;
|
||||
text-shadow: -1px -1px 0px #333;
|
||||
}
|
||||
|
||||
#header h1 .project-version {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.project-version {
|
||||
padding-left: 0.15em;
|
||||
}
|
||||
|
||||
#header a, .sidebar a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#header a {
|
||||
color: #f5f5f5;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#header h2 {
|
||||
float: right;
|
||||
font-size: 9pt;
|
||||
font-weight: normal;
|
||||
margin: 4px 3px;
|
||||
padding: 0;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
#header h2 a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.sidebar h3 {
|
||||
margin: 0;
|
||||
padding: 10px 13px 0 13px;
|
||||
font-size: 19px;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.sidebar h3 a {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.sidebar h3.no-link {
|
||||
color: #636363;
|
||||
}
|
||||
|
||||
.sidebar ul {
|
||||
padding: 7px 0 6px 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sidebar ul.index-link {
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.sidebar li {
|
||||
display: block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.sidebar li a, .sidebar li .no-link {
|
||||
border-left: 3px solid transparent;
|
||||
padding: 0 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar li .no-link {
|
||||
display: block;
|
||||
color: #777;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.sidebar li .inner {
|
||||
display: inline-block;
|
||||
padding-top: 7px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.sidebar li a, .sidebar li .tree {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.depth-1 .inner { padding-left: 2px; }
|
||||
.depth-2 .inner { padding-left: 6px; }
|
||||
.depth-3 .inner { padding-left: 20px; }
|
||||
.depth-4 .inner { padding-left: 34px; }
|
||||
.depth-5 .inner { padding-left: 48px; }
|
||||
.depth-6 .inner { padding-left: 62px; }
|
||||
|
||||
.sidebar li .tree {
|
||||
display: block;
|
||||
float: left;
|
||||
position: relative;
|
||||
top: -10px;
|
||||
margin: 0 4px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar li.depth-1 .tree {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar li .tree .top, .sidebar li .tree .bottom {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
.sidebar li .tree .top {
|
||||
border-left: 1px solid #aaa;
|
||||
border-bottom: 1px solid #aaa;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.sidebar li .tree .bottom {
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.sidebar li.branch .tree .bottom {
|
||||
border-left: 1px solid #aaa;
|
||||
}
|
||||
|
||||
.sidebar.primary li.current a {
|
||||
border-left: 3px solid #a33;
|
||||
color: #a33;
|
||||
}
|
||||
|
||||
.sidebar.secondary li.current a {
|
||||
border-left: 3px solid #33a;
|
||||
color: #33a;
|
||||
}
|
||||
|
||||
.namespace-index h2 {
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
|
||||
.namespace-index h3 {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.namespace-index .topics {
|
||||
padding-left: 30px;
|
||||
margin: 11px 0 0 0;
|
||||
}
|
||||
|
||||
.namespace-index .topics li {
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.namespace-docs h3 {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.public h3 {
|
||||
margin: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.usage {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.public {
|
||||
margin: 0;
|
||||
border-top: 1px solid #e0e0e0;
|
||||
padding-top: 14px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.public:last-child {
|
||||
margin-bottom: 20%;
|
||||
}
|
||||
|
||||
.members .public:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.members {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.members h4 {
|
||||
color: #555;
|
||||
font-weight: normal;
|
||||
font-variant: small-caps;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.members .inner {
|
||||
padding-top: 5px;
|
||||
padding-left: 12px;
|
||||
margin-top: 2px;
|
||||
margin-left: 7px;
|
||||
border-left: 1px solid #bbb;
|
||||
}
|
||||
|
||||
#content .members .inner h3 {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
.members .public {
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.members .public:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
h4.type,
|
||||
h4.dynamic,
|
||||
h4.added,
|
||||
h4.deprecated {
|
||||
float: left;
|
||||
margin: 3px 10px 15px 0;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.public h4.type,
|
||||
.public h4.dynamic,
|
||||
.public h4.added,
|
||||
.public h4.deprecated {
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
margin: 3px 0 0 10px;
|
||||
}
|
||||
|
||||
.members h4.type,
|
||||
.members h4.added,
|
||||
.members h4.deprecated {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
h4.type {
|
||||
color: #717171;
|
||||
}
|
||||
|
||||
h4.dynamic {
|
||||
color: #9933aa;
|
||||
}
|
||||
|
||||
h4.added {
|
||||
color: #508820;
|
||||
}
|
||||
|
||||
h4.deprecated {
|
||||
color: #880000;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.namespace:last-child {
|
||||
margin-bottom: 10%;
|
||||
}
|
||||
|
||||
.index {
|
||||
padding: 0;
|
||||
font-size: 80%;
|
||||
margin: 15px 0;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.index * {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.index p {
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.index li {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.index ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.type-sig {
|
||||
clear: both;
|
||||
color: #088;
|
||||
}
|
||||
|
||||
.type-sig pre {
|
||||
padding-top: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.usage code {
|
||||
display: block;
|
||||
color: #008;
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.usage code:first-child {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.public p:first-child, .public pre.plaintext {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.doc {
|
||||
margin: 0 0 26px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.public .doc {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.namespace-index .doc {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.namespace-index .namespace .doc {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.markdown p, .markdown li, .markdown dt, .markdown dd, .markdown td {
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.markdown li {
|
||||
padding: 2px 0;
|
||||
}
|
||||
|
||||
.markdown h2 {
|
||||
font-weight: normal;
|
||||
font-size: 25px;
|
||||
margin: 30px 0 10px 0;
|
||||
}
|
||||
|
||||
.markdown h3 {
|
||||
font-weight: normal;
|
||||
font-size: 20px;
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
|
||||
.markdown h4 {
|
||||
font-size: 15px;
|
||||
margin: 22px 0 -4px 0;
|
||||
}
|
||||
|
||||
.doc, .public, .namespace .index {
|
||||
max-width: 680px;
|
||||
overflow-x: visible;
|
||||
}
|
||||
|
||||
.markdown pre > code {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.markdown pre > code, .src-link a {
|
||||
border: 1px solid #e4e4e4;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.markdown code:not(.hljs), .src-link a {
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
pre.deps {
|
||||
display: inline-block;
|
||||
margin: 0 10px;
|
||||
border: 1px solid #e4e4e4;
|
||||
border-radius: 2px;
|
||||
padding: 10px;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.markdown hr {
|
||||
border-style: solid;
|
||||
border-top: none;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.doc ul, .doc ol {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.doc table {
|
||||
border-collapse: collapse;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.doc table td, .doc table th {
|
||||
border: 1px solid #dddddd;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
.doc table th {
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.doc dl {
|
||||
margin: 0 10px 20px 10px;
|
||||
}
|
||||
|
||||
.doc dl dt {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 3px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.doc dl dd {
|
||||
padding: 5px 0;
|
||||
margin: 0 0 5px 10px;
|
||||
}
|
||||
|
||||
.doc abbr {
|
||||
border-bottom: 1px dotted #333;
|
||||
font-variant: none;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.src-link {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.src-link a {
|
||||
font-size: 70%;
|
||||
padding: 1px 4px;
|
||||
text-decoration: none;
|
||||
color: #5555bb;
|
||||
}
|
97
doc/codox/css/highlight.css
Normal file
97
doc/codox/css/highlight.css
Normal file
@ -0,0 +1,97 @@
|
||||
/*
|
||||
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
color: #333;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote {
|
||||
color: #998;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-subst {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-number,
|
||||
.hljs-literal,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-tag .hljs-attr {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-doctag {
|
||||
color: #d14;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-selector-id {
|
||||
color: #900;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-subst {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-type,
|
||||
.hljs-class .hljs-title {
|
||||
color: #458;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-tag,
|
||||
.hljs-name,
|
||||
.hljs-attribute {
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-regexp,
|
||||
.hljs-link {
|
||||
color: #009926;
|
||||
}
|
||||
|
||||
.hljs-symbol,
|
||||
.hljs-bullet {
|
||||
color: #990073;
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
.hljs-builtin-name {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-meta {
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
26
doc/codox/index.html
Normal file
26
doc/codox/index.html
Normal file
File diff suppressed because one or more lines are too long
2
doc/codox/js/highlight.min.js
vendored
Normal file
2
doc/codox/js/highlight.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
doc/codox/js/jquery.min.js
vendored
Normal file
4
doc/codox/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
112
doc/codox/js/page_effects.js
Normal file
112
doc/codox/js/page_effects.js
Normal file
@ -0,0 +1,112 @@
|
||||
function visibleInParent(element) {
|
||||
var position = $(element).position().top
|
||||
return position > -50 && position < ($(element).offsetParent().height() - 50)
|
||||
}
|
||||
|
||||
function hasFragment(link, fragment) {
|
||||
return $(link).attr("href").indexOf("#" + fragment) != -1
|
||||
}
|
||||
|
||||
function findLinkByFragment(elements, fragment) {
|
||||
return $(elements).filter(function(i, e) { return hasFragment(e, fragment)}).first()
|
||||
}
|
||||
|
||||
function scrollToCurrentVarLink(elements) {
|
||||
var elements = $(elements);
|
||||
var parent = elements.offsetParent();
|
||||
|
||||
if (elements.length == 0) return;
|
||||
|
||||
var top = elements.first().position().top;
|
||||
var bottom = elements.last().position().top + elements.last().height();
|
||||
|
||||
if (top >= 0 && bottom <= parent.height()) return;
|
||||
|
||||
if (top < 0) {
|
||||
parent.scrollTop(parent.scrollTop() + top);
|
||||
}
|
||||
else if (bottom > parent.height()) {
|
||||
parent.scrollTop(parent.scrollTop() + bottom - parent.height());
|
||||
}
|
||||
}
|
||||
|
||||
function setCurrentVarLink() {
|
||||
$('.secondary a').parent().removeClass('current')
|
||||
$('.anchor').
|
||||
filter(function(index) { return visibleInParent(this) }).
|
||||
each(function(index, element) {
|
||||
findLinkByFragment(".secondary a", element.id).
|
||||
parent().
|
||||
addClass('current')
|
||||
});
|
||||
scrollToCurrentVarLink('.secondary .current');
|
||||
}
|
||||
|
||||
var hasStorage = (function() { try { return localStorage.getItem } catch(e) {} }())
|
||||
|
||||
function scrollPositionId(element) {
|
||||
var directory = window.location.href.replace(/[^\/]+\.html$/, '')
|
||||
return 'scroll::' + $(element).attr('id') + '::' + directory
|
||||
}
|
||||
|
||||
function storeScrollPosition(element) {
|
||||
if (!hasStorage) return;
|
||||
localStorage.setItem(scrollPositionId(element) + "::x", $(element).scrollLeft())
|
||||
localStorage.setItem(scrollPositionId(element) + "::y", $(element).scrollTop())
|
||||
}
|
||||
|
||||
function recallScrollPosition(element) {
|
||||
if (!hasStorage) return;
|
||||
$(element).scrollLeft(localStorage.getItem(scrollPositionId(element) + "::x"))
|
||||
$(element).scrollTop(localStorage.getItem(scrollPositionId(element) + "::y"))
|
||||
}
|
||||
|
||||
function persistScrollPosition(element) {
|
||||
recallScrollPosition(element)
|
||||
$(element).scroll(function() { storeScrollPosition(element) })
|
||||
}
|
||||
|
||||
function sidebarContentWidth(element) {
|
||||
var widths = $(element).find('.inner').map(function() { return $(this).innerWidth() })
|
||||
return Math.max.apply(Math, widths)
|
||||
}
|
||||
|
||||
function calculateSize(width, snap, margin, minimum) {
|
||||
if (width == 0) {
|
||||
return 0
|
||||
}
|
||||
else {
|
||||
return Math.max(minimum, (Math.ceil(width / snap) * snap) + (margin * 2))
|
||||
}
|
||||
}
|
||||
|
||||
function resizeSidebars() {
|
||||
var primaryWidth = sidebarContentWidth('.primary')
|
||||
var secondaryWidth = 0
|
||||
|
||||
if ($('.secondary').length != 0) {
|
||||
secondaryWidth = sidebarContentWidth('.secondary')
|
||||
}
|
||||
|
||||
// snap to grid
|
||||
primaryWidth = calculateSize(primaryWidth, 32, 13, 160)
|
||||
secondaryWidth = calculateSize(secondaryWidth, 32, 13, 160)
|
||||
|
||||
$('.primary').css('width', primaryWidth)
|
||||
$('.secondary').css('width', secondaryWidth).css('left', primaryWidth + 1)
|
||||
|
||||
if (secondaryWidth > 0) {
|
||||
$('#content').css('left', primaryWidth + secondaryWidth + 2)
|
||||
}
|
||||
else {
|
||||
$('#content').css('left', primaryWidth + 1)
|
||||
}
|
||||
}
|
||||
|
||||
$(window).ready(resizeSidebars)
|
||||
$(window).ready(setCurrentVarLink)
|
||||
$(window).ready(function() { persistScrollPosition('.primary')})
|
||||
$(window).ready(function() {
|
||||
$('#content').scroll(setCurrentVarLink)
|
||||
$(window).resize(setCurrentVarLink)
|
||||
})
|
4
doc/codox/propeller.core.html
Normal file
4
doc/codox/propeller.core.html
Normal file
File diff suppressed because one or more lines are too long
5
doc/codox/propeller.genome.html
Normal file
5
doc/codox/propeller.genome.html
Normal file
File diff suppressed because one or more lines are too long
5
doc/codox/propeller.gp.html
Normal file
5
doc/codox/propeller.gp.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.basement.html
Normal file
10
doc/codox/propeller.problems.PSB2.basement.html
Normal file
File diff suppressed because one or more lines are too long
11
doc/codox/propeller.problems.PSB2.bouncing-balls.html
Normal file
11
doc/codox/propeller.problems.PSB2.bouncing-balls.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.bowling.html
Normal file
10
doc/codox/propeller.problems.PSB2.bowling.html
Normal file
File diff suppressed because one or more lines are too long
13
doc/codox/propeller.problems.PSB2.camel-case.html
Normal file
13
doc/codox/propeller.problems.PSB2.camel-case.html
Normal file
File diff suppressed because one or more lines are too long
11
doc/codox/propeller.problems.PSB2.dice-game.html
Normal file
11
doc/codox/propeller.problems.PSB2.dice-game.html
Normal file
File diff suppressed because one or more lines are too long
8
doc/codox/propeller.problems.PSB2.fizz-buzz.html
Normal file
8
doc/codox/propeller.problems.PSB2.fizz-buzz.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.fuel-cost.html
Normal file
10
doc/codox/propeller.problems.PSB2.fuel-cost.html
Normal file
File diff suppressed because one or more lines are too long
12
doc/codox/propeller.problems.PSB2.gcd.html
Normal file
12
doc/codox/propeller.problems.PSB2.gcd.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.luhn.html
Normal file
10
doc/codox/propeller.problems.PSB2.luhn.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.middle-character.html
Normal file
10
doc/codox/propeller.problems.PSB2.middle-character.html
Normal file
File diff suppressed because one or more lines are too long
11
doc/codox/propeller.problems.PSB2.paired-digits.html
Normal file
11
doc/codox/propeller.problems.PSB2.paired-digits.html
Normal file
File diff suppressed because one or more lines are too long
12
doc/codox/propeller.problems.PSB2.shopping-list.html
Normal file
12
doc/codox/propeller.problems.PSB2.shopping-list.html
Normal file
File diff suppressed because one or more lines are too long
11
doc/codox/propeller.problems.PSB2.snow-day.html
Normal file
11
doc/codox/propeller.problems.PSB2.snow-day.html
Normal file
File diff suppressed because one or more lines are too long
9
doc/codox/propeller.problems.PSB2.solve-boolean.html
Normal file
9
doc/codox/propeller.problems.PSB2.solve-boolean.html
Normal file
File diff suppressed because one or more lines are too long
12
doc/codox/propeller.problems.PSB2.spin-words.html
Normal file
12
doc/codox/propeller.problems.PSB2.spin-words.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.square-digits.html
Normal file
10
doc/codox/propeller.problems.PSB2.square-digits.html
Normal file
File diff suppressed because one or more lines are too long
10
doc/codox/propeller.problems.PSB2.substitution-cipher.html
Normal file
10
doc/codox/propeller.problems.PSB2.substitution-cipher.html
Normal file
File diff suppressed because one or more lines are too long
9
doc/codox/propeller.problems.PSB2.twitter.html
Normal file
9
doc/codox/propeller.problems.PSB2.twitter.html
Normal file
File diff suppressed because one or more lines are too long
7
doc/codox/propeller.problems.simple-regression.html
Normal file
7
doc/codox/propeller.problems.simple-regression.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.problems.software.fizz-buzz.html
Normal file
3
doc/codox/propeller.problems.software.fizz-buzz.html
Normal file
File diff suppressed because one or more lines are too long
4
doc/codox/propeller.problems.software.number-io.html
Normal file
4
doc/codox/propeller.problems.software.number-io.html
Normal file
File diff suppressed because one or more lines are too long
4
doc/codox/propeller.problems.software.smallest.html
Normal file
4
doc/codox/propeller.problems.software.smallest.html
Normal file
File diff suppressed because one or more lines are too long
7
doc/codox/propeller.problems.string-classification.html
Normal file
7
doc/codox/propeller.problems.string-classification.html
Normal file
File diff suppressed because one or more lines are too long
5
doc/codox/propeller.problems.valiant.html
Normal file
5
doc/codox/propeller.problems.valiant.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.bool.html
Normal file
3
doc/codox/propeller.push.instructions.bool.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.character.html
Normal file
3
doc/codox/propeller.push.instructions.character.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.code.html
Normal file
3
doc/codox/propeller.push.instructions.code.html
Normal file
File diff suppressed because one or more lines are too long
11
doc/codox/propeller.push.instructions.html
Normal file
11
doc/codox/propeller.push.instructions.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.input-output.html
Normal file
3
doc/codox/propeller.push.instructions.input-output.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.numeric.html
Normal file
3
doc/codox/propeller.push.instructions.numeric.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.polymorphic.html
Normal file
3
doc/codox/propeller.push.instructions.polymorphic.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.string.html
Normal file
3
doc/codox/propeller.push.instructions.string.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.instructions.vector.html
Normal file
3
doc/codox/propeller.push.instructions.vector.html
Normal file
File diff suppressed because one or more lines are too long
5
doc/codox/propeller.push.interpreter.html
Normal file
5
doc/codox/propeller.push.interpreter.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.limits.html
Normal file
3
doc/codox/propeller.push.limits.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.push.state.html
Normal file
3
doc/codox/propeller.push.state.html
Normal file
File diff suppressed because one or more lines are too long
8
doc/codox/propeller.selection.html
Normal file
8
doc/codox/propeller.selection.html
Normal file
File diff suppressed because one or more lines are too long
3
doc/codox/propeller.session.html
Normal file
3
doc/codox/propeller.session.html
Normal file
File diff suppressed because one or more lines are too long
7
doc/codox/propeller.simplification.html
Normal file
7
doc/codox/propeller.simplification.html
Normal file
File diff suppressed because one or more lines are too long
5
doc/codox/propeller.tools.calculus.html
Normal file
5
doc/codox/propeller.tools.calculus.html
Normal file
File diff suppressed because one or more lines are too long
7
doc/codox/propeller.tools.character.html
Normal file
7
doc/codox/propeller.tools.character.html
Normal file
File diff suppressed because one or more lines are too long
7
doc/codox/propeller.tools.distributions.html
Normal file
7
doc/codox/propeller.tools.distributions.html
Normal file
File diff suppressed because one or more lines are too long
21
doc/codox/propeller.tools.math.html
Normal file
21
doc/codox/propeller.tools.math.html
Normal file
File diff suppressed because one or more lines are too long
9
doc/codox/propeller.tools.metrics.html
Normal file
9
doc/codox/propeller.tools.metrics.html
Normal file
File diff suppressed because one or more lines are too long
12
doc/codox/propeller.utils.html
Normal file
12
doc/codox/propeller.utils.html
Normal file
File diff suppressed because one or more lines are too long
51
doc/codox/propeller.variation.html
Normal file
51
doc/codox/propeller.variation.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user