disfated/restler — comment on commit 486a09c88310984155b49ac99586352f086659ef
File: lib/restler.js line 135
By ayoung:

Thanks for this. It looks great. One suggestion though. Can you simplify these conditional statements so that its not so nested? I see that you can combine some if/else's and perhaps return early to even bring it down to only one level of nesting. It would help readibility a lot.