Comparing version 0.3.0 to 0.3.1
@@ -268,6 +268,6 @@ // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. | ||
obj.handlers.main = | ||
utils.mergeFunctionArguments(args, offset + 1, args.length - 2); | ||
utils.mergeFunctionArguments(args, offset + 1, args.length - 1); | ||
} else { | ||
obj.handlers.main = | ||
utils.mergeFunctionArguments(args, offset, args.length - 1); | ||
utils.mergeFunctionArguments(args, offset, args.length); | ||
} | ||
@@ -274,0 +274,0 @@ |
@@ -47,5 +47,5 @@ // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. | ||
mergeFunctionArguments: function(argv, offset, end) { | ||
mergeFunctionArguments: function(argv, start, end) { | ||
assert.ok(argv); | ||
assert.ok(offset); | ||
assert.ok(start); | ||
assert.ok(end); | ||
@@ -55,3 +55,3 @@ | ||
for (var i = offset; i < argv.length; i++) { | ||
for (var i = start; i < end; i++) { | ||
if (argv[i] instanceof Array) { | ||
@@ -58,0 +58,0 @@ var arr = argv[i]; |
{ | ||
"name": "restify", | ||
"description": "REST framework specifically meant for web service APIs", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -6,13 +6,2 @@ node-restify is meant to do one thing: make it easy to build an API webservice | ||
## Why does this exist? | ||
After starting with express for several backend, machine-consumed projects | ||
it because obvious I only needed about 10% of what connect gives you, and the | ||
parts they gave me still required writing a lot of extension code over the top | ||
to do what I needed (mainly properly parse request parameters and respond with | ||
JS objects). | ||
I wanted something smaller and more purposed to this use case. If this isn't | ||
you, move along, nothing to see here. | ||
## Usage | ||
@@ -19,0 +8,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
203405
47