Jaml-all.js
function(node, children, lpad) {
    var childLpad = lpad + 2;
    
    for (var i=0; i < children.length; i++) {
      var child = children[i];
      if (child instanceof Array) {
        var nestedChildren = child;
        this.renderChildren(node, nestedChildren, lpad)
      } else {
        node.push(child.render(childLpad));
      }
    }    
  }
function(node, children, lpad) {
    var childLpad = lpad + 2;
    
    for (var i=0; i < children.length; i++) {
      var child = children[i];
      if (child instanceof Array) {
        var nestedChildren = child;
        this.renderChildren(node, nestedChildren, lpad)
      } else {
        node.push(child.render(childLpad));
      }
    }    
  }
function ( node , children , lpad ) { var childLpad = lpad + 2 ; for ( var i = 0 ; i < children . length ; i ++ ) { var child = children [ i ] ; if ( child instanceof Array ) { var nestedChildren = child ; this . renderChildren ( node , nestedChildren , lpad ) } else { node . push ( child . render ( childLpad ) ) ; } } }
Renders an array of children
@node {Array} the current array of rendered lines
@children {Array} the child nodes to be rendered
@param {Number} lpad Amount of whitespace to add to the left of the string
Renders an array of children