Permalink
Browse files

stuff

  • Loading branch information...
1 parent 26d3eb7 commit 5febdd70cafd12e5273f25c47a7d6404c80e0fa0 @danwrong danwrong committed Mar 16, 2011
Showing with 5 additions and 2 deletions.
  1. +1 −1 lib/restler.js
  2. +4 −1 package.json
View
@@ -165,7 +165,7 @@ mixin(Request.prototype, {
function shortcutOptions(options, method) {
options = options || {};
options.method = method;
- options.parser = typeof options.parser !== "undefined" ? options.parser : parsers.auto;
+ options.parser = (typeof options.parser !== "undefined") ? options.parser : parsers.auto;
return options;
}
View
@@ -3,5 +3,8 @@
"version": "0.2.0",
"description": "An HTTP client library for node.js",
"contributors": [{ name: "Dan Webb", email: "dan@danwebb.net" }],
- "homepage": "https://github.com/danwrong/restler"
+ "homepage": "https://github.com/danwrong/restler",
+ "directories" : { "lib" : "./lib" },
+ "main" : "./lib/restler",
+ "engines": { "node": ">= 0.3.7" }
}

0 comments on commit 5febdd7

Please sign in to comment.