setting NULL for command option default value. fixes #8

This commit is contained in:
logsol 2012-07-15 21:59:36 +02:00
parent d523b88e66
commit 3899d9b018

View file

@ -8,7 +8,7 @@ define(["Protocol/Parser"], function(Parser) {
Helper.assemble = function(command, options){ Helper.assemble = function(command, options){
var commands = {}; var commands = {};
commands[command] = options; commands[command] = options || null;
return commands; return commands;
} }