jsdoc-template/publish.js
function linkToSrc(shortPath, lineNumber) {
    var splitPath = shortPath.split("/");
    return '<a href="{{srcroot}}' + shortPath+'">' + splitPath[splitPath.length - 1] + '</a>, <a href="{{srcroot}}' + shortPath+'#L'+lineNumber+'">' + lineNumber + '</a>';
    
}
function linkToSrc(shortPath, lineNumber) {
    var splitPath = shortPath.split("/");
    return '<a href="{{srcroot}}' + shortPath+'">' + splitPath[splitPath.length - 1] + '</a>, <a href="{{srcroot}}' + shortPath+'#L'+lineNumber+'">' + lineNumber + '</a>';
    
}
function linkToSrc ( shortPath , lineNumber ) { var splitPath = shortPath . split ( "/" ) ; return '<a href="{{srcroot}}' + shortPath + '">' + splitPath [ splitPath . length - 1 ] + '</a>, <a href="{{srcroot}}' + shortPath + '#L' + lineNumber + '">' + lineNumber + '</a>' ; }
Create links to the src relative to the external source url
Adds a link to the line number according to github's format
Since JSDoc seems incapable of accept external parameters, inject a value which will be replaced in Angular
Create links to the src relative to the external source url Adds a link to the line number according to github s format Since JSDoc seems incapable of accept external parameters inject a value which will be replaced in Angular