diff options
Diffstat (limited to 'web/src/js/flow')
-rw-r--r-- | web/src/js/flow/utils.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/web/src/js/flow/utils.js b/web/src/js/flow/utils.js index 113f0b1a..50305482 100644 --- a/web/src/js/flow/utils.js +++ b/web/src/js/flow/utils.js @@ -1,3 +1,5 @@ +var _ = require("lodash"); + var _MessageUtils = { getContentType: function (message) { return this.get_first_header(message, /^Content-Type$/i); @@ -54,4 +56,9 @@ var RequestUtils = _.extend(_MessageUtils, { } }); -var ResponseUtils = _.extend(_MessageUtils, {});
\ No newline at end of file +var ResponseUtils = _.extend(_MessageUtils, {}); + + +module.exports = { + ResponseUtils: ResponseUtils +}
\ No newline at end of file |