Skip to content
Browse files

Purely whitespace changes, hey I'm weird sometimes.

  • Loading branch information...
1 parent 1c1ad4a commit b8ae0121cff80cdfcc98ab584d90fd9690e99b99 @DanBUK DanBUK committed Feb 6, 2011
Showing with 10 additions and 10 deletions.
  1. +10 −10 nodester.js
View
20 nodester.js
@@ -45,19 +45,19 @@ function process_response(cb, errfn) {
nodester.prototype.request = function(method, path, body, cb) {
request({
- uri: this.baseurl + path,
- method: method,
- body: querystring.stringify(body),
- headers: headers
- },
- process_response(cb)
+ uri: this.baseurl + path,
+ method: method,
+ body: querystring.stringify(body),
+ headers: headers
@dvv
dvv added a note May 25, 2011

If we appended here proxy: process.env.http_proxy we could close nodester/nodester-cli#12. Please, consider. TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ },
+ process_response(cb)
);
}
-nodester.prototype.get = function(path, cb) { this.request('GET', path, null, cb); }
-nodester.prototype.post = function(path, body, cb) { this.request('POST', path, body, cb); }
-nodester.prototype.put = function(path, body, cb) { this.request('PUT', path, body, cb); }
-nodester.prototype.del = function(path, body, cb) { this.request('DELETE', path, body, cb); }
+nodester.prototype.get = function(path, cb) { this.request('GET', path, null, cb); }
+nodester.prototype.post = function(path, body, cb) { this.request('POST', path, body, cb); }
+nodester.prototype.put = function(path, body, cb) { this.request('PUT', path, body, cb); }
+nodester.prototype.del = function(path, body, cb) { this.request('DELETE', path, body, cb); }
nodester.prototype.coupon_request = function (email, cb) {
this.post('coupon', { email: email }, cb)

0 comments on commit b8ae012

Please sign in to comment.
Something went wrong with that request. Please try again.