fixed rejecting promise invoking callbacks

reduces unneeded promise wrap
fixed cases where the first argument is callback was set despite success
added missing returns in awaitResponse
made defaults arrow functions, and commented out their defaults to prevent unsused vars
added missing returns for status functions
This commit is contained in:
Simon Schick
2015-11-24 02:48:05 +01:00
parent bd2b98c4dc
commit c801dcff2b

File diff suppressed because it is too large Load Diff