src/tree/tree.js
function broadcastInserted(node) {
  if (node.hooks && node.hooks.inserted) {
    return node.hooks.inserted(node, node.element);
  }
  if (node.children) {
    for (var i = 0, len = node.children.length; i < len; i++) {
      if (node.children[i]) {
        broadcastInserted(node.children[i]);
      }
    }
  }
}
function broadcastInserted(node) {
  if (node.hooks && node.hooks.inserted) {
    return node.hooks.inserted(node, node.element);
  }
  if (node.children) {
    for (var i = 0, len = node.children.length; i < len; i++) {
      if (node.children[i]) {
        broadcastInserted(node.children[i]);
      }
    }
  }
}
function broadcastInserted ( node ) { if ( node . hooks && node . hooks . inserted ) { return node . hooks . inserted ( node , node . element ) ; } if ( node . children ) { for ( var i = 0 , len = node . children . length ; i < len ; i ++ ) { if ( node . children [ i ] ) { broadcastInserted ( node . children [ i ] ) ; } } } }
Broadcasts the inserted 'event'.
Broadcasts the inserted event .