INNER CODE UNIT · TypeScript
NodeArray
zhenorzz/goploy · web/src/components/JSONTree/index.ts:670
function NodeArray(label, val, isLast) {
this.sym = ['[', ']']
this.type = 'array'
_NodeComplex.call(this, label, val, isLast)
}
utils.inherits(NodeArray, _NodeComplex)
/* ---------- The tree constructor ---------- */
/*
* The constructor for json tree.
* It contains only one Node (Array or Object), without property name.
* CSS-styles of .tree define main tree styles like font-family,
* font-size and own margins.
*
* Markup:
* <ul class="jsontree_tree clearfix">