code: function initNodePath(node, view) {
    var path = [];
    while (node !== view) {
      var parent = node.parentNode;
      path.unshift(indexOf.call(parent.childNodes, node));
      node = parent;
    }
    return path;
  }
docs: Creates an array of indexes to help find the same element within a cloned view