From bc8687deb5f0f9273fc771e79b070f3b49e39fed Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 30 Dec 2014 21:51:07 +1300 Subject: Basic conversion: browserified web app now works. --- web/src/js/flow/utils.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'web/src/js/flow') 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 -- cgit v1.2.3