diff --git a/src/jio/commands/command.js b/src/jio/commands/command.js index 50c8bec3f6e296d75d5d46e063b3c120f4a59a12..ef53001672006a7283ea46199f2ad15ed4194a87 100644 --- a/src/jio/commands/command.js +++ b/src/jio/commands/command.js @@ -44,9 +44,9 @@ var command = function(spec, my) { that.super_serialized = function () { var o = that.serialized() || {}; o["label"] = that.getLabel(); - o["tried"] = priv.tried, - o["doc"] = that.cloneDoc(), - o["option"] = that.cloneOption() + o["tried"] = priv.tried; + o["doc"] = that.cloneDoc(); + o["option"] = that.cloneOption(); return o; }; diff --git a/src/jio/storages/storage.js b/src/jio/storages/storage.js index b1f196b116557ad86c9e6fe2ae69d988aa433c68..075cfff80632d900ba3880292c0ae63ff4724c53 100644 --- a/src/jio/storages/storage.js +++ b/src/jio/storages/storage.js @@ -70,7 +70,7 @@ var storage = function(spec, my) { */ that.serialized = function () { return {}; - } + }; /** * Validate the storage state. It returns a empty string all is ok.