Skip to content

Commit

Permalink
bump to v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Jan 4, 2009
1 parent 07f7e18 commit f6d8ce4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions History.txt
@@ -1,3 +1,8 @@
== 1.2.3 2009-01-04

* Shortened footer message
* Moved website to github pages: http://drnic.github.com/github-badges

== 1.2.2 2008-05-07 == 1.2.2 2008-05-07
* Added GITHUB_TITLE and GITHUB_SHOW_ALL options. * Added GITHUB_TITLE and GITHUB_SHOW_ALL options.


Expand Down
2 changes: 1 addition & 1 deletion src/user_badge.js
Expand Up @@ -93,7 +93,7 @@ GitHubBadge.requestUserInfo = function(username) {
$.fn.buildFooter = function() { $.fn.buildFooter = function() {
return this.append($( return this.append($(
"<div class='footer'>" "<div class='footer'>"
+ "<a href='http://drnicjavascript.rubyforge.org/github_badge'>GitHub Badge</a> " + "<a href='http://drnic.github.com/github-badges'>GitHub Badge</a>"
+ " | " + " | "
+ "Written by <a href='http://drnicwilliams.com'>Dr Nic</a>" + "Written by <a href='http://drnicwilliams.com'>Dr Nic</a>"
+ "</div>" + "</div>"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/user_badge_test.html
Expand Up @@ -59,7 +59,7 @@ <h1>JavaScript unit test file</h1>


"test that footer displayed": function() { with(this) { "test that footer displayed": function() { with(this) {
assertEqual(1, badge.find('.footer').size()); assertEqual(1, badge.find('.footer').size());
var expected = '<a href="http://drnicjavascript.rubyforge.org/github_badge">GitHub Badge</a> | Written by <a href="http://drnicwilliams.com">Dr Nic</a>'; var expected = '<a href="http://drnic.github.com/github-badges">GitHub Badge</a> | Written by <a href="http://drnicwilliams.com">Dr Nic</a>';
assertEqual(expected, $('div#github-badge .footer').html()); assertEqual(expected, $('div#github-badge .footer').html());
}} }}
}, {testLog: "testlog"}); }, {testLog: "testlog"});
Expand Down

0 comments on commit f6d8ce4

Please sign in to comment.