feat: added some more recipe button functionality

This commit is contained in:
ysandler 2017-02-01 17:57:43 -06:00 committed by Joshua Shoemaker
parent 513b22076f
commit 9cc84835de

View File

@ -117,6 +117,9 @@ function addRecipe(drink, recipe){
case "ESPRESSOMACCHIATO": case "ESPRESSOMACCHIATO":
drink.recipe = Object.assign(drink.recipe, espressoMacchiato(drink)); drink.recipe = Object.assign(drink.recipe, espressoMacchiato(drink));
break; break;
case "ESPRESSOCONPANNA":
drink.recipe = Object.assign(drink.recipe, espressoConPanna(drink));
break;
case "LATTE": case "LATTE":
drink.recipe = Object.assign(drink.recipe, latte(drink)); drink.recipe = Object.assign(drink.recipe, latte(drink));
break; break;