1 2 this.renderBreadcrumbs = function (pageNode) { 3 var res = i18n.translate('javascript-model-samples.frontend.breadcrumbs.start.label'); 4 cmsfn.ancestors(pageNode).forEach(function (anchestorPage) { 5 res += '<span><a href="' + cmsfn.link(anchestorPage) + '">' + evalBreadcrumbItitle(anchestorPage) + '</a></span><span>>></span>'; 6 }); 7 res += '<span>' + evalBreadcrumbItitle(pageNode) + '</span>'; 8 return res; 9 }; 10 11 function evalBreadcrumbItitle(pageNode) { 12 return (pageNode.navigationTitle) ? pageNode.navigationTitle : (pageNode.title) ? pageNode.title : pageNode["@name"]; 13 }//-
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.