mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
setting NULL for command option default value. fixes #8
This commit is contained in:
parent
d523b88e66
commit
3899d9b018
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue