Always use develop branch of GitHub links in ALPHA mode

This commit is contained in:
ines 2017-06-01 12:47:30 +02:00
parent 992559bf9a
commit 5cef1dd305
1 changed files with 1 additions and 0 deletions

View File

@ -19,5 +19,6 @@
//- Generate GitHub links //- Generate GitHub links
- function gh(repo, filepath, branch) { - function gh(repo, filepath, branch) {
- var branch = ALPHA ? 'develop' : branch
- return 'https://github.com/' + SOCIAL.github + '/' + repo + (filepath ? '/blob/' + (branch || 'master') + '/' + filepath : '' ); - return 'https://github.com/' + SOCIAL.github + '/' + repo + (filepath ? '/blob/' + (branch || 'master') + '/' + filepath : '' );
- } - }