Docs and style in lib/list
This commit is contained in:
parent
26b299eb62
commit
c252926f34
|
@ -1,6 +1,14 @@
|
||||||
|
|
||||||
module.exports = List;
|
module.exports = List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List class provides functionality of nested collection
|
||||||
|
*
|
||||||
|
* @param {Array} data - array of items.
|
||||||
|
* @param {Crap} type - array with some type information? TODO: rework this API.
|
||||||
|
* @param {AbstractClass} parent - owner of list.
|
||||||
|
* @constructor
|
||||||
|
*/
|
||||||
function List(data, type, parent) {
|
function List(data, type, parent) {
|
||||||
var list = this;
|
var list = this;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue