function ( i ) {
    var nn = nodes[i];

    // console.log(2, nodes[i])
    if (nn instanceof Node) {
      append(nn, parent, after);
    } else
    if (nn && typeof nn.render === 'function') {
      // nn.$pointer = text('[pointer]');
      nn.$pointer = textNode('');
      append(nn.$pointer, parent, after);

      nodes[i].render(rendered => {
        // console.log(3, rendered)

        // Abort! Pointer was destroyed
        if (nn.$pointer === false) { return false; }

        for (var n = 0; n < rendered.length; n++) {
          if (nn.$pointer) {
            append(rendered[n], nn.$pointer, true);
          } else {
            append(rendered[n], parent, after);
          }
        }

        mountChildren(nn, nn.$isSvg, depth + 1);
      }, nn, depth, isSvg);
    }

    // if (!nn.html) {
    //   nn.$pointer = text('[pointer]');
    //   append(nn.$pointer, parent, after);
    // }
  }
function ( i ) {
    var nn = nodes[i];

    
    if (nn instanceof Node) {
      append(nn, parent, after);
    } else
    if (nn && typeof nn.render === 'function') {
      
      nn.$pointer = textNode('');
      append(nn.$pointer, parent, after);

      nodes[i].render(rendered => {
        

        
        if (nn.$pointer === false) { return false; }

        for (var n = 0; n < rendered.length; n++) {
          if (nn.$pointer) {
            append(rendered[n], nn.$pointer, true);
          } else {
            append(rendered[n], parent, after);
          }
        }

        mountChildren(nn, nn.$isSvg, depth + 1);
      }, nn, depth, isSvg);
    }

    
    
    
    
  }
function ( i ) { var nn = nodes [ i ] ; // console.log(2, nodes[i]) if ( nn instanceof Node ) { append ( nn , parent , after ) ; } else if ( nn && typeof nn . render === 'function' ) { // nn.$pointer = text('[pointer]'); nn . $pointer = textNode ( '' ) ; append ( nn . $pointer , parent , after ) ; nodes [ i ] . render ( rendered => { // console.log(3, rendered) // Abort! Pointer was destroyed if ( nn . $pointer === false ) { return false ; } for ( var n = 0 ; n < rendered . length ; n ++ ) { if ( nn . $pointer ) { append ( rendered [ n ] , nn . $pointer , true ) ; } else { append ( rendered [ n ] , parent , after ) ; } } mountChildren ( nn , nn . $isSvg , depth + 1 ) ; } , nn , depth , isSvg ) ; } // if (!nn.html) { //   nn.$pointer = text('[pointer]'); //   append(nn.$pointer, parent, after); // } }
console.log(1, 'MOUNT')
console . log ( 1 MOUNT )