Skip to content

Commit

Permalink
fixed conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
danwrong committed Mar 16, 2011
2 parents 5febdd7 + e07b152 commit 86d9e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/restler.js
Expand Up @@ -270,7 +270,7 @@ mixin(Service.prototype, {
return del(this._url(path), this._withDefaults(options));
},
_url: function(path) {
if (this.baseURL) return uri.resolve(this.baseURL, path);
if (this.baseURL) return url.resolve(this.baseURL, path);
else return path;
},
_withDefaults: function(options) {
Expand All @@ -297,4 +297,4 @@ mixin(exports, {
parsers: parsers,
file: multipart.file,
data: multipart.data
});
});

0 comments on commit 86d9e35

Please sign in to comment.