Merge pull request #5669 from dtreiter/master

Fix Github links to specific lines on jsdoc pages
This commit is contained in:
Andreas Hocevar
2016-08-02 20:25:22 +02:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ $(function () {
var link = 'https://github.com/openlayers/ol3/blob/v' + currentVersion + '/' +
textParts[0];
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' +
'<a href="' + link + textParts[1].replace('line ', '#l') + '">' +
'<a href="' + link + textParts[1].replace('line ', '#L') + '">' +
textParts[1] + '</a>';
});