remove workspace
This commit is contained in:
parent
5a9a95b99d
commit
ac1fafac1f
@ -9,12 +9,12 @@ function string() {
|
||||
|
||||
string.prototype = {
|
||||
/**
|
||||
*
|
||||
* Членовозня
|
||||
*
|
||||
* @public
|
||||
* @function =
|
||||
* @memberof v2.string
|
||||
* @param {v2.string} _o
|
||||
* @param {v2.string} _o фывафывафва
|
||||
* @returns {this}
|
||||
*/
|
||||
"=": function (_o) {},
|
||||
|
@ -1,32 +1,75 @@
|
||||
.full-methods .title {
|
||||
.part {
|
||||
margin-top: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.full-methods > .title {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
margin-top: 20px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.full-methods .list {
|
||||
padding-left: 24px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.full-method {
|
||||
color: #bdbdbd;
|
||||
color: #757575;
|
||||
font-size: 17px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.full-method > .access {
|
||||
padding-right: 10px;
|
||||
|
||||
|
||||
|
||||
.full-method > div.title {
|
||||
font-size: 25px;
|
||||
font-weight: normal;
|
||||
color: #848484;
|
||||
}
|
||||
.full-method > .name {
|
||||
color: #ff7801;
|
||||
font-size: 17px;
|
||||
|
||||
.full-method > div.title > span{
|
||||
color: #fb8200;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
.full-method .params {}
|
||||
.full-method > .params > .param > .name {
|
||||
.full-method > div.description {
|
||||
background: initial;
|
||||
}
|
||||
|
||||
.full-method > div.short {
|
||||
padding-left: 5px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.full-method > div.short > .access {
|
||||
padding-right: 3px;
|
||||
}
|
||||
.full-method > div.short > .name {
|
||||
color: #757575;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.full-method > div.short > .params {}
|
||||
.full-method > div.short > .params > .param > .name {
|
||||
color: #5c8e65;
|
||||
}
|
||||
.full-method .param .type {}
|
||||
.full-method .param .type .left-quad-bracket {}
|
||||
.full-method .param .type .name {}
|
||||
.full-method .param .type .right-quad-bracket {}
|
||||
.full-method > div.short > .param .type {}
|
||||
.full-method > div.short > .param .type .left-quad-bracket {}
|
||||
.full-method > div.short > .param .type .name {}
|
||||
.full-method > div.short > .param .type .right-quad-bracket {}
|
||||
|
||||
.params-desc {
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.params-desc > .title {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.params-desc > .parameter {
|
||||
margin-bottom: 5px;
|
||||
}
|
@ -324,8 +324,6 @@ article ul {
|
||||
.details .object-value { padding-top: 0; }
|
||||
|
||||
.description {
|
||||
margin-bottom: 1em;
|
||||
/*margin-top: 1em;*/
|
||||
font-size: 17px;
|
||||
border-radius: 7px;
|
||||
color: #000000;
|
||||
@ -434,4 +432,11 @@ article ul {
|
||||
.__end {
|
||||
color: #0037ff;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.bdotted {
|
||||
border-radius: 4px;
|
||||
border-width: 1px;
|
||||
border-color: #c7c7c7;
|
||||
border-style: dotted;
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
.min-methods{}
|
||||
.min-methods{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.min-methods .title {
|
||||
font-size: 28px;
|
||||
@ -6,7 +8,8 @@
|
||||
margin-top: 20px;
|
||||
}
|
||||
.min-methods .list {
|
||||
padding-left: 24px;
|
||||
padding-left: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.min-methods .list .compact-method {
|
||||
|
@ -164,7 +164,7 @@
|
||||
<div class="title">Full methods description:</div>
|
||||
<div class="list">
|
||||
<?js methods.forEach(function(m) { ?>
|
||||
<?js= self.partial('method_full.tmpl', m) ?>
|
||||
<?js= self.partial('full_method/main.tmpl', m) ?>
|
||||
<?js }); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
30
templates/initi/tmpl/full_method/main.tmpl
Normal file
30
templates/initi/tmpl/full_method/main.tmpl
Normal file
@ -0,0 +1,30 @@
|
||||
<?js
|
||||
var method = obj;
|
||||
var self = this;
|
||||
|
||||
var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupimethodt non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
||||
|
||||
//console.log(JSON.stringify(method, true, 3))
|
||||
?>
|
||||
|
||||
<div class="full-method bdotted part" id="<?js= method.id ?>">
|
||||
<div class="title"><span><?js= method.name ?></span></div>
|
||||
|
||||
<?js if(method.description) { ?>
|
||||
<div class="description part bdotted"><?js= method.description ?></div>
|
||||
<?js } ?>
|
||||
|
||||
<div class="short bdotted part">
|
||||
<span class="access">(<?js= method.access ?>)</span>
|
||||
<span class="name"><?js= method.name ?></span>
|
||||
|
||||
<?js= self.partial('full_method/params_compact.tmpl', method.params) ?>
|
||||
</div>
|
||||
|
||||
<?js if(method.params) { ?>
|
||||
<div class="params-desc bdotted part">
|
||||
<div class="title">Params</div>
|
||||
<?js= self.partial('full_method/params_full.tmpl', method.params) ?>
|
||||
</div>
|
||||
<?js } ?>
|
||||
</div>
|
29
templates/initi/tmpl/full_method/param_full.tmpl
Normal file
29
templates/initi/tmpl/full_method/param_full.tmpl
Normal file
@ -0,0 +1,29 @@
|
||||
<?js
|
||||
var param = obj;
|
||||
var self = this;
|
||||
|
||||
//var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure "
|
||||
|
||||
//console.log(JSON.stringify(param, true, 3))
|
||||
?>
|
||||
|
||||
<div class="parameter">
|
||||
<div class="head part bdotted">
|
||||
|
||||
<span class="name"><?js= param.name ?></span>
|
||||
|
||||
<?js if(param.type) { ?>
|
||||
<span class="type">
|
||||
<span class="left-circle-bracket">(</span>
|
||||
<span class="name"><?js= self.linkto(param.type.names[0]) ?></span>
|
||||
<span class="right-circle-bracket">)</span>
|
||||
</span>
|
||||
<?js } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?js if(param.description) { ?>
|
||||
<div class="description part bdotted"><?js= param.description ?></div>
|
||||
<?js } ?>
|
||||
|
||||
</div>
|
32
templates/initi/tmpl/full_method/params_compact.tmpl
Normal file
32
templates/initi/tmpl/full_method/params_compact.tmpl
Normal file
@ -0,0 +1,32 @@
|
||||
<?js
|
||||
var data = obj;
|
||||
var self = this;
|
||||
|
||||
var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<span class="params">
|
||||
<span class="left-circle-bracket">(</span>
|
||||
|
||||
<?js
|
||||
if(data){
|
||||
var a = 0;
|
||||
while(a < data.length){
|
||||
var param = data[a];
|
||||
//console.log(JSON.stringify(param, true, 3))
|
||||
if(!param) { a++; continue; }
|
||||
//console.log(JSON.stringify(param,true,3))
|
||||
var type = param.type.names[0];
|
||||
?>
|
||||
<span class="param">
|
||||
<span class="name"><?js= param.name ?></span><?js if(a < data.length - 1) { ?>,<?js } ?>
|
||||
</span>
|
||||
<?js
|
||||
a++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<span class="right-circle-bracket">)</span>
|
||||
</span>
|
8
templates/initi/tmpl/full_method/params_full.tmpl
Normal file
8
templates/initi/tmpl/full_method/params_full.tmpl
Normal file
@ -0,0 +1,8 @@
|
||||
<?js
|
||||
var data = obj;
|
||||
var self = this;
|
||||
?>
|
||||
|
||||
<?js for(var a = 0; a < data.length; a++) { ?>
|
||||
<?js= self.partial('full_method/param_full.tmpl', data[a]) ?>
|
||||
<?js } ?>
|
@ -1,32 +0,0 @@
|
||||
<?js
|
||||
var data = obj;
|
||||
var self = this;
|
||||
|
||||
//console.log(JSON.stringify(data, true, 3))
|
||||
?>
|
||||
|
||||
<div class="full-method" id="<?js= data.id ?>">
|
||||
<span class="access">(<?js= data.access ?>)</span>
|
||||
<span class="name"><?js= name ?></span>
|
||||
<span class="params">
|
||||
<span class="left-circle-bracket">(</span>
|
||||
<?js
|
||||
if(data.params){
|
||||
var a = 0;
|
||||
while(a < data.params.length){
|
||||
var param = data.params[a];
|
||||
if(!param) { a++; continue; }
|
||||
//console.log(JSON.stringify(param,true,3))
|
||||
var type = param.type.names[0];
|
||||
?>
|
||||
<span class="param">
|
||||
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
|
||||
</span>
|
||||
<?js
|
||||
a++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<span class="right-circle-bracket">)</span>
|
||||
</span>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user