add show list methods

This commit is contained in:
Aleksey Chichenkov 2018-09-19 13:25:01 +03:00
parent 3478e04a63
commit bbb8ca5fdf
13 changed files with 929 additions and 95 deletions

View file

@ -6,11 +6,14 @@
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<script src="scripts/dd-menu.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<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/dd-menu.css">
<link type="text/css" rel="stylesheet" href="styles/explorer.css">
</head>
<body>
@ -20,6 +23,10 @@
<h1 class="page-title"><?js= title ?></h1>
<?js= content ?>
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc <?js= env.version.number ?></a><?js if(env.conf.templates && env.conf.templates.default && env.conf.templates.default.includeDate !== false) { ?> on <?js= (new Date()) ?><?js } ?>
</footer>
</div>
<nav>
@ -28,10 +35,6 @@
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc <?js= env.version.number ?></a><?js if(env.conf.templates && env.conf.templates.default && env.conf.templates.default.includeDate !== false) { ?> on <?js= (new Date()) ?><?js } ?>
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>

View file

@ -17,6 +17,7 @@ var self = this;
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">
@ -25,7 +26,8 @@ var self = this;
<span class="name"><?js= type ?></span>
<span class="right-quad-bracket"> ]</span>
</span>
<span class="name"><?js= param.name ?></span>
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
</span>
<?js
a++;