some restyle
This commit is contained in:
parent
27e785d1da
commit
905b0f7cb5
@ -82,4 +82,14 @@ function ProvidersSystem() {
|
|||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.s_platform_broken = -1;
|
this.s_platform_broken = -1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @name s_wait_login
|
||||||
|
* @public
|
||||||
|
* @memberof ProvidersSystem
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
this.s_wait_login = -1;
|
||||||
}
|
}
|
162
templates/initi/static/styles/common.css
Normal file
162
templates/initi/static/styles/common.css
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
div.min-methods{
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.compact-method > .name,
|
||||||
|
div.compact-method > .name a,
|
||||||
|
div.container-overview > span.name,
|
||||||
|
div.container-overview > span.name a,
|
||||||
|
div.min-methods > .title,
|
||||||
|
div.full-method > .title span
|
||||||
|
{
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name, .signature {
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||||
|
color: #d85a00;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.type > span.name,
|
||||||
|
div.type > span.name a,
|
||||||
|
div.returns > span.name,
|
||||||
|
div.returns > span.name a,
|
||||||
|
div.short > span.name,
|
||||||
|
div.short > span.name a,
|
||||||
|
span.access,
|
||||||
|
div.params span,
|
||||||
|
div.returns span,
|
||||||
|
dl.article-sub-classes a,
|
||||||
|
ul.extends li a
|
||||||
|
{
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ib {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bs {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container-overview,
|
||||||
|
.mainpage {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview > div.desc,
|
||||||
|
div.mainpage > div.desc {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.desc p {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview > .desc,
|
||||||
|
div.part > div.desc {
|
||||||
|
font-size: 15px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview > .desc > pre,
|
||||||
|
div.part > pre {
|
||||||
|
margin: 0px;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview > div.desc,
|
||||||
|
div.mainpage > div.part
|
||||||
|
{
|
||||||
|
background: #f3f3f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview ul,
|
||||||
|
div.mainpage ul,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
div.container-overview h5,
|
||||||
|
div.mainpage h5{
|
||||||
|
font-size: initial;
|
||||||
|
font-weight: initial;
|
||||||
|
letter-spacing: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview li,
|
||||||
|
div.mainpage li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview ul,
|
||||||
|
div.mainpage ul {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.container-overview,
|
||||||
|
.part {
|
||||||
|
margin-top: 3px;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bdotted {
|
||||||
|
border-radius: 4px;
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: #c7c7c7;
|
||||||
|
border-style: dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
.desc blockquote {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.off-font {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 span,
|
||||||
|
h2 a,
|
||||||
|
h2, h3.subsection-title
|
||||||
|
{
|
||||||
|
font-size: 30px;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
margin-top: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3, h3 a
|
||||||
|
{
|
||||||
|
font-size: 24px;
|
||||||
|
letter-spacing: -0.5px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4, h4 a
|
||||||
|
{
|
||||||
|
font-size: 18px;
|
||||||
|
letter-spacing: -0.33px;
|
||||||
|
color: #4d4e53;
|
||||||
|
}
|
||||||
|
.compact-method .param > .name:before {
|
||||||
|
content: " ";
|
||||||
|
width: 4px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
@ -1,7 +1,3 @@
|
|||||||
.part {
|
|
||||||
margin-top: 3px;
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-methods > .title {
|
.full-methods > .title {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
|
@ -186,30 +186,6 @@ h1
|
|||||||
margin: 12px 24px 20px;
|
margin: 12px 24px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3.subsection-title
|
|
||||||
{
|
|
||||||
font-size: 30px;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: -1px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
margin-top: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3
|
|
||||||
{
|
|
||||||
font-size: 24px;
|
|
||||||
letter-spacing: -0.5px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4
|
|
||||||
{
|
|
||||||
font-size: 18px;
|
|
||||||
letter-spacing: -0.33px;
|
|
||||||
/*margin-bottom: 12px;*/
|
|
||||||
color: #4d4e53;
|
|
||||||
margin-top: 45px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5, .container-overview .subsection-title
|
h5, .container-overview .subsection-title
|
||||||
{
|
{
|
||||||
@ -297,11 +273,6 @@ tr > th:last-child { border-right: 1px solid #ddd; }
|
|||||||
color: rgba(52, 109, 0, 0.71);
|
color: rgba(52, 109, 0, 0.71);
|
||||||
}
|
}
|
||||||
|
|
||||||
.name, .signature {
|
|
||||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
||||||
color: #d85a00;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
article ul {
|
article ul {
|
||||||
padding: 0px 0px 0px 31px;
|
padding: 0px 0px 0px 31px;
|
||||||
@ -338,16 +309,6 @@ article ul {
|
|||||||
.details pre.prettyprint { margin: 0 }
|
.details pre.prettyprint { margin: 0 }
|
||||||
.details .object-value { padding-top: 0; }
|
.details .object-value { padding-top: 0; }
|
||||||
|
|
||||||
.description {
|
|
||||||
font-size: 17px;
|
|
||||||
border-radius: 7px;
|
|
||||||
color: #000000;
|
|
||||||
border: 1px solid #e2e2e2;
|
|
||||||
background: rgb(245, 245, 245);
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.code-caption
|
.code-caption
|
||||||
{
|
{
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
@ -416,9 +377,9 @@ article ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.params .name, .props .name, .name code {
|
.params .name, .props .name, .name code {
|
||||||
color: #4D4E53;
|
/*color: #4D4E53;*/
|
||||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
/*font-family: Consolas, Monaco, 'Andale Mono', monospace;*/
|
||||||
font-size: 100%;
|
/*font-size: 100%;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.params td.description > p:first-child,
|
.params td.description > p:first-child,
|
||||||
@ -449,9 +410,3 @@ article ul {
|
|||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bdotted {
|
|
||||||
border-radius: 4px;
|
|
||||||
border-width: 1px;
|
|
||||||
border-color: #c7c7c7;
|
|
||||||
border-style: dotted;
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
.mainpage {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage > div.desc {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.desc p {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.part > div.desc {
|
|
||||||
font-size: 15px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 5px;
|
|
||||||
/*padding-bottom: 0px;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
div.part > pre {
|
|
||||||
margin: 0px;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage > div.part {
|
|
||||||
background: #f3f3f3;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage ul, h3, h4, h5 {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage h5{
|
|
||||||
font-size: initial;
|
|
||||||
font-weight: initial;
|
|
||||||
letter-spacing: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage li {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.mainpage ul {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding-left: 25px;
|
|
||||||
}
|
|
@ -1,78 +0,0 @@
|
|||||||
.min-methods{
|
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-methods .title {
|
|
||||||
font-size: 28px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
.min-methods .list {
|
|
||||||
padding-left: 20px;
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-methods .list .compact-method {
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: normal;
|
|
||||||
font-family: 'Open Sans', sans-serif !important;
|
|
||||||
}
|
|
||||||
.min-methods .list .compact-method .access{
|
|
||||||
padding-right: 10px;
|
|
||||||
display: inline-block;
|
|
||||||
width: 50px;
|
|
||||||
}
|
|
||||||
.min-methods .list .compact-method .name{
|
|
||||||
color: #0137ff;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: normal;
|
|
||||||
display: inline-block;
|
|
||||||
min-width: 70px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.min-methods .list .compact-method .params {
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-methods .list .compact-method .param {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-methods .list .compact-method .param .left-circle-bracket{}
|
|
||||||
.min-methods .list .compact-method .param .right-circle-bracket{}
|
|
||||||
|
|
||||||
.min-methods .list .compact-method .param .type{}
|
|
||||||
.min-methods .list .compact-method .param .type .left-quad-bracket{}
|
|
||||||
.min-methods .list .compact-method .param .type .name{
|
|
||||||
color: #3d7700;
|
|
||||||
font-size: 19px;
|
|
||||||
min-width: initial;
|
|
||||||
}
|
|
||||||
.min-methods .list .compact-method .param .type .right-quad-bracket{}
|
|
||||||
.min-methods .list .compact-method .param .name{
|
|
||||||
color: #a7a7a7;
|
|
||||||
font-size: 20px;
|
|
||||||
min-width: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-methods .list .compact-method .returns{}
|
|
||||||
.min-methods .list .compact-method .returns .arrow{}
|
|
||||||
.min-methods .list .compact-method .returns .left-figure-bracket{}
|
|
||||||
.min-methods .list .compact-method .returns .right-figure-bracket{}
|
|
||||||
.min-methods .list .compact-method .returns .name{
|
|
||||||
color: #5aa30e;
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: normal;
|
|
||||||
min-width: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-method > .description > p {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parameter > .description > p {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
@ -37,13 +37,13 @@
|
|||||||
<sup class="variation"><?js= doc.variation ?></sup><?js }
|
<sup class="variation"><?js= doc.variation ?></sup><?js }
|
||||||
if (doc.signature && !doc.hideconstructor) { ?><?js= doc.signature ?><?js } ?></h2>
|
if (doc.signature && !doc.hideconstructor) { ?><?js= doc.signature ?><?js } ?></h2>
|
||||||
<?js if (doc.classdesc) { ?>
|
<?js if (doc.classdesc) { ?>
|
||||||
<div class="class-description"><?js= doc.classdesc ?></div>
|
<div class="class-description bdotted"><?js= doc.classdesc ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
<?js } else if (doc.kind === 'module' && doc.modules) { ?>
|
<?js } else if (doc.kind === 'module' && doc.modules) { ?>
|
||||||
<?js doc.modules.forEach(function(module) { ?>
|
<?js doc.modules.forEach(function(module) { ?>
|
||||||
<?js if (module.classdesc) { //console.log("module.classdesc", module.classdesc)?>
|
<?js if (module.classdesc) { //console.log("module.classdesc", module.classdesc)?>
|
||||||
|
|
||||||
<div class="class-description"><?js= module.classdesc ?></div>
|
<div class="class-description bdotted"><?js= module.classdesc ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
<?js }) ?>
|
<?js }) ?>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<div class="container-overview">
|
<div class="container-overview">
|
||||||
<?js if (doc.kind === 'module' && doc.modules) { ?>
|
<?js if (doc.kind === 'module' && doc.modules) { ?>
|
||||||
<?js if (doc.description) { ?>
|
<?js if (doc.description) { ?>
|
||||||
<div class="description"><?js= replaces_description ?></div>
|
<div class="desc bdotted"><?js= replaces_description ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js doc.modules.forEach(function(module) { ?>
|
<?js doc.modules.forEach(function(module) { ?>
|
||||||
@ -63,7 +63,7 @@
|
|||||||
<?js= self.partial('method.tmpl', doc) ?>
|
<?js= self.partial('method.tmpl', doc) ?>
|
||||||
<?js } else { ?>
|
<?js } else { ?>
|
||||||
<?js if (doc.description) { ?>
|
<?js if (doc.description) { ?>
|
||||||
<div class="description"><?js= replaces_description ?></div>
|
<div class="desc bdotted"><?js= replaces_description ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js // self.partial('details.tmpl', doc) ?>
|
<?js // self.partial('details.tmpl', doc) ?>
|
||||||
@ -159,8 +159,10 @@
|
|||||||
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname});
|
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname});
|
||||||
if (methods && methods.length && methods.forEach) {
|
if (methods && methods.length && methods.forEach) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<br>
|
||||||
<div class="min-methods">
|
<div class="min-methods">
|
||||||
<div class="title">Methods:</div>
|
<div class="title bold">Methods:</div>
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<?js methods.forEach(function(m) { ?>
|
<?js methods.forEach(function(m) { ?>
|
||||||
<?js= self.partial('method_compact.tmpl', m) ?>
|
<?js= self.partial('method_compact.tmpl', m) ?>
|
||||||
|
@ -107,13 +107,6 @@ if (data.defaultvalue && (data.defaultvaluetype === 'object' || data.defaultvalu
|
|||||||
</ul></dd>
|
</ul></dd>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.meta && self.outputSourceFiles) {?>
|
|
||||||
<dt class="tag-source">Source:</dt>
|
|
||||||
<dd class="tag-source"><ul class="dummy"><li>
|
|
||||||
<?js= self.linkto(meta.shortpath) ?>, <?js= self.linkto(meta.shortpath, 'line ' + meta.lineno, null, 'line' + meta.lineno) ?>
|
|
||||||
</li></ul></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.tutorials && tutorials.length) {?>
|
<?js if (data.tutorials && tutorials.length) {?>
|
||||||
<dt class="tag-tutorial">Tutorials:</dt>
|
<dt class="tag-tutorial">Tutorials:</dt>
|
||||||
<dd class="tag-tutorial">
|
<dd class="tag-tutorial">
|
||||||
|
@ -11,7 +11,7 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
|
|||||||
<div class="title"><span><?js= method.name ?></span></div>
|
<div class="title"><span><?js= method.name ?></span></div>
|
||||||
|
|
||||||
<?js if(method.description) { ?>
|
<?js if(method.description) { ?>
|
||||||
<div class="description part bdotted"><?js= self.replace_enters_to_br(method.description) ?></div>
|
<div class="desc part bdotted"><?js= self.replace_enters_to_br(method.description) ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<div class="short bdotted part">
|
<div class="short bdotted part">
|
||||||
@ -22,21 +22,21 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?js if (method.examples && method.examples.length) { ?>
|
<?js if (method.examples && method.examples.length) { ?>
|
||||||
<div class="params-desc params-example bdotted part">
|
<div class="desc params-example bdotted part">
|
||||||
<div class="title">Examples: </div>
|
<div class="title">Examples: </div>
|
||||||
<?js= self.partial('examples.tmpl', method.examples) ?>
|
<?js= self.partial('examples.tmpl', method.examples) ?>
|
||||||
</div>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if(method.params) { ?>
|
<?js if(method.params) { ?>
|
||||||
<div class="params-desc bdotted part">
|
<div class="desc bdotted part">
|
||||||
<div class="title">Params</div>
|
<div class="title">Params</div>
|
||||||
<?js= self.partial('full_method/params_full.tmpl', method.params) ?>
|
<?js= self.partial('full_method/params_full.tmpl', method.params) ?>
|
||||||
</div>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if(method.returns) { ?>
|
<?js if(method.returns) { ?>
|
||||||
<div class="params-desc bdotted part">
|
<div class="desc bdotted part">
|
||||||
<div class="title">Returns</div>
|
<div class="title">Returns</div>
|
||||||
<?js= self.partial('full_method/returns_full.tmpl', method.returns) ?>
|
<?js= self.partial('full_method/returns_full.tmpl', method.returns) ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -13,17 +13,17 @@ var self = this;
|
|||||||
<span class="name"><?js= param.name ?></span>
|
<span class="name"><?js= param.name ?></span>
|
||||||
|
|
||||||
<?js if(param.type) { ?>
|
<?js if(param.type) { ?>
|
||||||
<span class="type">
|
<div class="type off-font ib">
|
||||||
<span class="left-circle-bracket">(</span>
|
<span class="left-circle-bracket">(</span>
|
||||||
<span class="name"><?js= self.linkto(param.type.names[0]) ?></span>
|
<span class="name"><?js= self.linkto(param.type.names[0]) ?></span>
|
||||||
<span class="right-circle-bracket">)</span>
|
<span class="right-circle-bracket">)</span>
|
||||||
</span>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?js if(param.description) { ?>
|
<?js if(param.description) { ?>
|
||||||
<div class="description part bdotted"><?js= param.description ?></div>
|
<div class="desc part bdotted"><?js= param.description ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
@ -7,7 +7,7 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<span class="params">
|
<div class="params off-font ib">
|
||||||
<span class="left-circle-bracket">(</span>
|
<span class="left-circle-bracket">(</span>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
@ -20,13 +20,13 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
|
|||||||
//console.log(JSON.stringify(param,true,3))
|
//console.log(JSON.stringify(param,true,3))
|
||||||
var type = param.type.names[0];
|
var type = param.type.names[0];
|
||||||
?>
|
?>
|
||||||
<span class="param">
|
<div class="param ib">
|
||||||
<span class="name"><?js= param.name ?></span><?js if(a < data.length - 1) { ?>,<?js } ?>
|
<span class="name"><?js= param.name ?></span><?js if(a < data.length - 1) { ?>,<?js } ?>
|
||||||
</span>
|
</div>
|
||||||
<?js
|
<?js
|
||||||
a++;
|
a++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="right-circle-bracket">)</span>
|
<span class="right-circle-bracket">)</span>
|
||||||
</span>
|
</div>
|
@ -11,17 +11,17 @@ var self = this;
|
|||||||
<div class="head part bdotted">
|
<div class="head part bdotted">
|
||||||
|
|
||||||
<?js if(ret.type) { ?>
|
<?js if(ret.type) { ?>
|
||||||
<span class="type">
|
<div class="type off-font ib">
|
||||||
<span class="left-circle-bracket"></span>
|
<span class="left-circle-bracket"></span>
|
||||||
<span class="name"><?js= self.linkto(ret.type.names[0]) ?></span>
|
<span class="name"><?js= self.linkto(ret.type.names[0]) ?></span>
|
||||||
<span class="right-circle-bracket"></span>
|
<span class="right-circle-bracket"></span>
|
||||||
</span>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?js if(ret.description) { ?>
|
<?js if(ret.description) { ?>
|
||||||
<div class="description part bdotted"><?js= ret.description ?></div>
|
<div class="desc part bdotted"><?js= ret.description ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
@ -10,6 +10,9 @@
|
|||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
|
<link type="text/css" rel="stylesheet" href="styles/common.css">
|
||||||
|
|
||||||
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||||||
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||||||
<link type="text/css" rel="stylesheet" href="styles/dd-menu.css">
|
<link type="text/css" rel="stylesheet" href="styles/dd-menu.css">
|
||||||
|
@ -16,7 +16,7 @@ var self = this;
|
|||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (false && part.examples && part.examples.length) { ?>
|
<?js if (false && part.examples && part.examples.length) { ?>
|
||||||
<div class="params-desc params-example bdotted part">
|
<div class="desc params-example bdotted part">
|
||||||
<div class="title">Examples: </div>
|
<div class="title">Examples: </div>
|
||||||
<?js= self.partial('examples.tmpl', part.examples) ?>
|
<?js= self.partial('examples.tmpl', part.examples) ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
var data = obj;
|
var data = obj;
|
||||||
var self = this;
|
var self = this;
|
||||||
?>
|
?>
|
||||||
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + name + (data.signature ? data.signature : '') ?></h4>
|
<h4 class="name bold" id="<?js= id ?>"><?js= data.attribs + name + (data.signature ? data.signature : '') ?></h4>
|
||||||
|
|
||||||
<?js if (data.summary) { ?>
|
<?js if (data.summary) { ?>
|
||||||
<p class="summary"><?js= summary ?></p>
|
<p class="summary"><?js= summary ?></p>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.description) { ?>
|
<?js if (data.description) { ?>
|
||||||
<div class="description">
|
<div class="desc">
|
||||||
<?js= data.description ?>
|
<?js= data.description ?>
|
||||||
</div>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
@ -7,7 +7,7 @@ var self = this;
|
|||||||
|
|
||||||
<div class="parameter part bdotted">
|
<div class="parameter part bdotted">
|
||||||
<?js if(data.description) { ?>
|
<?js if(data.description) { ?>
|
||||||
<div class="description bdotted"><?js= self.replace_enters_to_br(data.description) ?></div>
|
<div class="desc bdotted"><?js= self.replace_enters_to_br(data.description) ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<div class="head bdotted part">
|
<div class="head bdotted part">
|
||||||
@ -17,11 +17,11 @@ var self = this;
|
|||||||
<span class="name"><?js= data.name ?></span>
|
<span class="name"><?js= data.name ?></span>
|
||||||
|
|
||||||
<?js if(data.type) { ?>
|
<?js if(data.type) { ?>
|
||||||
<span class="type">
|
<div class="type off-font ib">
|
||||||
<span class="left-circle-bracket">(</span>
|
<span class="left-circle-bracket">(</span>
|
||||||
<span class="name"><?js= self.linkto(data.type.names[0]) ?></span>
|
<span class="name"><?js= self.linkto(data.type.names[0]) ?></span>
|
||||||
<span class="right-circle-bracket">)</span>
|
<span class="right-circle-bracket">)</span>
|
||||||
</span>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,7 +8,7 @@ var self = this;
|
|||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.kind !== 'namespace') { ?>
|
<?js if (data.kind !== 'namespace') { ?>
|
||||||
<h4 class="name" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '')
|
<h4 class="name bold" id="<?js= id ?>"><?js= data.attribs + (kind === 'class' ? 'new ' : '')
|
||||||
+ "<span class='method-name'>" + name + "</span>" + (data.signature || '') ?></h4>
|
+ "<span class='method-name'>" + name + "</span>" + (data.signature || '') ?></h4>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ var self = this;
|
|||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.kind !== 'module' && data.description && !data.hideconstructor) { ?>
|
<?js if (data.kind !== 'module' && data.description && !data.hideconstructor) { ?>
|
||||||
<div class="description">
|
<div class="desc bdotted">
|
||||||
<?js= this.replace_enters_to_br(data.description) ?>
|
<?js= this.replace_enters_to_br(data.description) ?>
|
||||||
</div>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
@ -43,7 +43,7 @@ var self = this;
|
|||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.params && params.length && !data.hideconstructor) { ?>
|
<?js if (data.params && params.length && !data.hideconstructor) { ?>
|
||||||
<div class="params-desc bdotted part">
|
<div class="desc bdotted part">
|
||||||
<div class="title">Params</div>
|
<div class="title">Params</div>
|
||||||
<?js= this.partial('full_method/params_full.tmpl', params) ?>
|
<?js= this.partial('full_method/params_full.tmpl', params) ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -9,7 +9,7 @@ var self = this;
|
|||||||
<span class="access"> <?js= (data.access ? data.access : data.scope) ?></span>
|
<span class="access"> <?js= (data.access ? data.access : data.scope) ?></span>
|
||||||
<span class="name"><a href="#<?js= data.id ?>"><?js= name ?></a></span>
|
<span class="name"><a href="#<?js= data.id ?>"><?js= name ?></a></span>
|
||||||
|
|
||||||
<span class="params">
|
<div class="params off-font ib">
|
||||||
<span class="left-circle-bracket">(</span>
|
<span class="left-circle-bracket">(</span>
|
||||||
<?js
|
<?js
|
||||||
if(data.params){
|
if(data.params){
|
||||||
@ -20,31 +20,31 @@ var self = this;
|
|||||||
//console.log(JSON.stringify(param,true,3))
|
//console.log(JSON.stringify(param,true,3))
|
||||||
var type = param.type.names[0];
|
var type = param.type.names[0];
|
||||||
?>
|
?>
|
||||||
<span class="param">
|
<div class="param ib">
|
||||||
<span class="type">
|
<div class="type off-font ib">
|
||||||
<span class="left-quad-bracket">[</span>
|
<span class="left-quad-bracket">[</span>
|
||||||
<span class="name"><?js= this.linkto(type) ?></span>
|
<span class="name"><?js= this.linkto(type) ?></span>
|
||||||
<span class="right-quad-bracket">]</span>
|
<span class="right-quad-bracket">]</span>
|
||||||
</span>
|
</div>
|
||||||
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
|
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
|
||||||
|
|
||||||
</span>
|
</div>
|
||||||
<?js
|
<?js
|
||||||
a++;
|
a++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="right-circle-bracket">)</span>
|
<span class="right-circle-bracket">)</span>
|
||||||
</span>
|
</div>
|
||||||
|
|
||||||
<?js if(data.returns) { ?>
|
<?js if(data.returns) { ?>
|
||||||
<?js // console.log(JSON.stringify(data.returns,true,3)) ?>
|
<?js // console.log(JSON.stringify(data.returns,true,3)) ?>
|
||||||
<?js var rets = data.returns[0].type.names[0]; ?>
|
<?js var rets = data.returns[0].type.names[0]; ?>
|
||||||
<span class="returns">
|
<div class="returns off-font ib">
|
||||||
<span class="arrow"> → </span>
|
<span class="arrow"> → </span>
|
||||||
<span class="left-figure-bracket">{</span>
|
<span class="left-figure-bracket">{</span>
|
||||||
<span class="name"><?js= this.linkto(rets) ?></span>
|
<span class="name"><?js= this.linkto(rets) ?></span>
|
||||||
<span class="right-figure-bracket">}</span>
|
<span class="right-figure-bracket">}</span>
|
||||||
</span>
|
</div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
</div>
|
</div>
|
@ -120,7 +120,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<td class="description last"><?js= param.description ?><?js if (param.subparams) { ?>
|
<td class="desc last"><?js= param.description ?><?js if (param.subparams) { ?>
|
||||||
<h6>Properties</h6>
|
<h6>Properties</h6>
|
||||||
<?js= self.partial('params.tmpl', param.subparams) ?>
|
<?js= self.partial('params.tmpl', param.subparams) ?>
|
||||||
<?js } ?></td>
|
<?js } ?></td>
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<td class="description last"><?js= prop.description ?><?js if (prop.subprops) { ?>
|
<td class="desc last"><?js= prop.description ?><?js if (prop.subprops) { ?>
|
||||||
<h6>Properties</h6><?js= self.partial('properties.tmpl', prop) ?>
|
<h6>Properties</h6><?js= self.partial('properties.tmpl', prop) ?>
|
||||||
<?js } ?></td>
|
<?js } ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user