From 1bf6d7f4fe57dcf6891acec738f7cdd85eacfc00 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 5 May 2016 14:01:27 +0300 Subject: [PATCH] Update fix.js --- FIX v.1.0/fix.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FIX v.1.0/fix.js b/FIX v.1.0/fix.js index c947c62..efb91d6 100644 --- a/FIX v.1.0/fix.js +++ b/FIX v.1.0/fix.js @@ -70,6 +70,7 @@ version:{} } var config = FIX.add.config = function(options){ + var options = options || {}; this.options = options; this.options.delimitter = this.options.delimitter || new String('\x01'); this.options.version = this.options.version || '4.4'; @@ -86,4 +87,4 @@ module.exports = FIX; } else { root.FIX = FIX; } -})(this); \ No newline at end of file +})(this);