Permalink
Browse files

Update lib/restler.js

  • Loading branch information...
1 parent f571e57 commit 7b05302f9b0a7edb4c9dfd7959d5e1ac2826c4c0 @ayoung ayoung committed Dec 13, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/restler.js
View
@@ -161,7 +161,7 @@ mixin(Request.prototype, {
if (this.options.data) {
this.request.write(this.options.data.toString(), this.options.encoding || 'utf8');
}
- this.request.end();
+ this.request.end();
}
return this;
@@ -252,9 +252,7 @@ try {
};
parsers.auto.matchers['application/xml'] = parsers.xml;
-} catch(e) {
- console.log(e);
-}
+} catch(e) { }
function Service(defaults) {

0 comments on commit 7b05302

Please sign in to comment.