docs: update js api docs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich
2020-04-03 13:28:38 +02:00
parent f9d61213fb
commit 0c3152c88d
40 changed files with 308 additions and 44 deletions

View File

@@ -1048,6 +1048,8 @@
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
@@ -2039,7 +2041,7 @@
* response objects using the `response.headers` property.
*/
var Headers = Class.extend(/** @lends LuCI.headers.prototype */ {
__name__: 'LuCI.Headers',
__name__: 'LuCI.headers',
__init__: function(xhr) {
var hdrs = this.headers = {};
xhr.getAllResponseHeaders().split(/\r\n/).forEach(function(line) {
@@ -2092,7 +2094,7 @@
* The `Response` class is an internal utility class representing HTTP responses.
*/
var Response = Class.extend({
__name__: 'LuCI.Response',
__name__: 'LuCI.response',
__init__: function(xhr, url, duration, headers, content) {
/**
* Describes whether the response is successful (status codes `200..299`) or not
@@ -2914,7 +2916,7 @@
* external JavaScript, use `L.require("dom").then(...)`.
*/
var DOM = Class.singleton(/* @lends LuCI.dom.prototype */ {
__name__: 'LuCI.DOM',
__name__: 'LuCI.dom',
/**
* Tests whether the given argument is a valid DOM `Node`.
@@ -3535,7 +3537,7 @@
* set of methods to inherit from.
*/
var View = Class.extend(/* @lends LuCI.view.prototype */ {
__name__: 'LuCI.View',
__name__: 'LuCI.view',
__init__: function() {
var vp = document.getElementById('view');
@@ -4924,7 +4926,7 @@
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
</footer>
</div>
</div>