From fe149a736f58dec4b8dcd6a71b94736e47afe599 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 23 Jun 2011 02:57:32 +0900 Subject: [PATCH] Fix url generation --- js/gitstatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gitstatus.js b/js/gitstatus.js index e4658b0..0a5c7fb 100644 --- a/js/gitstatus.js +++ b/js/gitstatus.js @@ -287,7 +287,7 @@ * Luckily, all our JSON-P methods operate in a callback-based scenario! See why we did that? ;D */ show: function() { - this.api_base_url += '/' + this.opts.github_username + '/' + this.opts.github_repository + '/'; + this.api_base_url = this.api_base_url '/' + this.opts.github_username + '/' + this.opts.github_repository + '/'; GitStatus.util.jsonp(this.api_base_url + 'network_meta', this._getRepoNetworkData, this); return this; },