Added 'Comment' operation for annotating the recipe

This commit is contained in:
n1474335 2017-04-27 13:05:29 +00:00
parent d6895537ac
commit addd45ae8e
4 changed files with 59 additions and 0 deletions

View file

@ -193,6 +193,20 @@ const FlowControl = {
return state;
},
/**
* Comment operation.
*
* @param {Object} state - The current state of the recipe.
* @param {number} state.progress - The current position in the recipe.
* @param {Dish} state.dish - The Dish being operated on.
* @param {Operation[]} state.opList - The list of operations in the recipe.
* @returns {Object} The updated state of the recipe.
*/
runComment: function(state) {
return state;
},
};
export default FlowControl;