sdk-javascript/lib
Daniel Bevenius 847fff8db2
lib: remove mode variable from getMode (#142)
Currently, the mode variable in getMode is set to 'unknown' but this
will never get returned as the else clause will throw a TypeError if the
detected mode (from the passed-in headers) is not structured or binary.

This commit suggests simplifying the getMode function and removes the
mode variable.

Signed-off-by: Daniel Bevenius <daniel.bevenius@gmail.com>
2020-05-12 14:50:07 -04:00
..
bindings/http lib: remove mode variable from getMode (#142) 2020-05-12 14:50:07 -04:00
formats fix: misspelled word (#113) 2020-05-02 08:31:07 -07:00
specs Inline Spec File (#129) 2020-05-06 12:12:26 -07:00
utils src: add eslint configuration and npm script 2020-04-22 10:15:05 -04:00
cloudevent.js chore: use es6 for cloudevents.js (#73) 2020-04-29 13:17:51 -07:00