Permalink
Browse files

minor fixes

  • Loading branch information...
1 parent 6fc5582 commit 8c4e2fcaccd802fc349235a35d50bc0140d951a4 @richcollins committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/HttpClientResponse.js
  2. +1 −1 lib/HttpServerRequest.js
View
2 lib/HttpClientResponse.js
@@ -16,7 +16,7 @@ oden.HttpClientResponse = ideal.Observable.clone().newSlots({
isSuccess: function()
{
- var code =this.statusCode();
+ var code = this.statusCode();
return code >= 200 && code < 300;
},
View
2 lib/HttpServerRequest.js
@@ -9,6 +9,6 @@ oden.HttpServerRequest = ideal.Observable.clone().newSlots({
}).setSlots({
queryMap: function()
{
- return map(require('url').parse(this.nodeRequest().url, true).query);
+ return map(url.parse(this.nodeRequest().url, true).query);
}
});

0 comments on commit 8c4e2fc

Please sign in to comment.