Skip to content
This repository has been archived by the owner on Dec 20, 2017. It is now read-only.

Commit

Permalink
updated twitter share button
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallen23 committed Jul 6, 2012
1 parent 9d6ffc8 commit 5bfdbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions bin/markx-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ if (program.build || files.length == 1) {
scripts: [
'ui/jquery.min.js',
'ui/jquery.toc.js',
'ui/hubinfo/hubinfo.js',
'ui/hubinfo-template.js'
'ui/hubinfo/hubinfo.js'
]
}
},
Expand Down
1 change: 1 addition & 0 deletions layout/template.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ html
user: '#{user}',
repo: '#{repo}'
}).on('render', function() {
$('<a href="https://twitter.com/share" class="twitter-share-button" data-via="JGAui">Tweet</a>').insertAfter('.repo-forks');
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
});
$('h2:eq(0)').before(ghInfo);
Expand Down

0 comments on commit 5bfdbc5

Please sign in to comment.