Fix url generation

This commit is contained in:
Ryan McGrath 2011-06-23 02:57:32 +09:00
parent 0d3733a53a
commit fe149a736f

View file

@ -287,7 +287,7 @@
* Luckily, all our JSON-P methods operate in a callback-based scenario! See why we did that? ;D * Luckily, all our JSON-P methods operate in a callback-based scenario! See why we did that? ;D
*/ */
show: function() { 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); GitStatus.util.jsonp(this.api_base_url + 'network_meta', this._getRepoNetworkData, this);
return this; return this;
}, },