From 5c4ffb36deee18743beb149ceae4d63d5b1ae8d9 Mon Sep 17 00:00:00 2001 From: James Daily Date: Tue, 20 Aug 2013 12:12:31 -0400 Subject: fix(ngdocs): use cdn version to generate link to source files Closes #3616 Closes #3675 --- docs/src/ngdoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/src') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 88d595af..e752b447 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -437,7 +437,7 @@ Doc.prototype = { if (this.section === 'api') { dom.tag('a', { href: 'http://github.com/angular/angular.js/tree/v' + - gruntUtil.getVersion().number + '/' + self.file + '#L' + self.line, + gruntUtil.getVersion().cdn + '/' + self.file + '#L' + self.line, class: 'view-source btn btn-action' }, function(dom) { dom.tag('i', {class:'icon-zoom-in'}, ' '); dom.text(' View source'); -- cgit v1.2.3