refact: replaced enums with strings

This commit is contained in:
Joshua Shoemaker 2017-03-04 17:33:14 -06:00
parent fd3aff93ec
commit c089823b51
6 changed files with 139 additions and 135 deletions

View File

@ -293,6 +293,41 @@
<button class="button-default" data-name="" data-value="">MORE SEASONAL SYRUP</button> <button class="button-default" data-name="" data-value="">MORE SEASONAL SYRUP</button>
</div> </div>
<div id="milk-menu" class="drink-menu five-buttons" style="display: none;">
<h5>Milks</h5>
<button class="button-brown" data-name="MILK" data-value="2">NONFAT</button>
<button class="button-brown" data-name="MILK" data-value="7">1% MILK</button>
<button class="empty-button" data-name="" data-value="">.</button>
<button class="button-brown" data-name="MILK" data-value="2">WITH NONFAT</button>
<button class="button-brown" data-name="MILK" data-value="7">WITH 1% MILK</button>
<button class="button-brown" data-name="MILK" data-value="1">2% MILK</button>
<button class="button-brown" data-name="MILK" data-value="3">WHOLE MILK</button>
<button class="empty-button" data-name="" data-value="">.</button>
<button class="button-brown" data-name="MILK" data-value="2">WITH 2% MILK</button>
<button class="button-brown" data-name="MILK" data-value="3">WITH WHOLE MILK</button>
<button class="button-brown" data-name="MILK" data-value="5">SOY MILK</button>
<button class="button-brown" data-name="MILK" data-value="10">LACTAID MILK</button>
<button class="empty-button" data-name="" data-value="">.</button>
<button class="button-brown" data-name="MILK" data-value="5">WITH SOY MILK</button>
<button class="button-brown" data-name="MILK" data-value="10">WITH LACTAID MILK</button>
<button class="button-brown" data-name="MILK" data-value="4">COCONUT MILK</button>
<button class="button-brown" data-name="MILK" data-value="6">ALMOUNDMILK</button>
<button class="empty-button" data-name="" data-value="">.</button>
<button class="button-brown" data-name="MILK" data-value="4">WITH COCONUT MILK</button>
<button class="button-brown" data-name="MILK" data-value="6">WITH ALMOUNDMILK</button>
<button class="button-brown" data-name="MILK" data-value="8">BREVE</button>
<button class="button-brown" data-name="MILK" data-value="9">HEAVY CREAM</button>
<button class="empty-button" data-name="" data-value="">.</button>
<button class="button-brown" data-name="MILK" data-value="8">WITH BREVE</button>
<button class="button-brown" data-name="MILK" data-value="9">WITH HEAVY CREAM</button>
<button class="button-brown" data-name="CUSTOM" data-value="Add Dairy">ADD DAIRY</button>
</div>
<div id="custom-menu" class="drink-menu six-buttons" style="display: none;"> <div id="custom-menu" class="drink-menu six-buttons" style="display: none;">
<h5>Other</h5> <h5>Other</h5>
<button class="button-blue" data-name="OTHER" data-value="Ice">ICE</button> <button class="button-blue" data-name="OTHER" data-value="Ice">ICE</button>

View File

@ -60,6 +60,7 @@ document.addEventListener('DOMContentLoaded', function(){
brewedMenu.style.display = "none"; brewedMenu.style.display = "none";
blendedMenu.style.display = "none"; blendedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "ESPRESSO": case "ESPRESSO":
@ -69,6 +70,7 @@ document.addEventListener('DOMContentLoaded', function(){
syrupMenu.style.display = "none"; syrupMenu.style.display = "none";
blendedMenu.style.display = "none"; blendedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "SYRUP": case "SYRUP":
@ -78,6 +80,7 @@ document.addEventListener('DOMContentLoaded', function(){
syrupMenu.style.display = "block"; syrupMenu.style.display = "block";
blendedMenu.style.display = "none"; blendedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "BREWED": case "BREWED":
@ -87,6 +90,7 @@ document.addEventListener('DOMContentLoaded', function(){
brewedMenu.style.display = "block"; brewedMenu.style.display = "block";
blendedMenu.style.display = "none"; blendedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "BLENDED": case "BLENDED":
@ -96,6 +100,7 @@ document.addEventListener('DOMContentLoaded', function(){
blendedMenu.style.display = "block"; blendedMenu.style.display = "block";
brewedMenu.style.display = "none"; brewedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "TEA": case "TEA":
@ -105,8 +110,19 @@ document.addEventListener('DOMContentLoaded', function(){
blendedMenu.style.display = "none"; blendedMenu.style.display = "none";
brewedMenu.style.display = "none"; brewedMenu.style.display = "none";
teaMenu.style.display = "block"; teaMenu.style.display = "block";
milkMenu.style.display = "none";
customMenu.style.display = "none"; customMenu.style.display = "none";
break; break;
case "MILK":
drinkOptionsMenu.style.display = "none";
recipeMenu.style.display = "none";
syrupMenu.style.display = "none";
blendedMenu.style.display = "none";
brewedMenu.style.display = "none";
teaMenu.style.display = "none";
customMenu.style.display = "none";
milkMenu.style.display = "block";
break;
case "CUSTOM": case "CUSTOM":
drinkOptionsMenu.style.display = "none"; drinkOptionsMenu.style.display = "none";
recipeMenu.style.display = "none"; recipeMenu.style.display = "none";
@ -115,6 +131,7 @@ document.addEventListener('DOMContentLoaded', function(){
brewedMenu.style.display = "none"; brewedMenu.style.display = "none";
teaMenu.style.display = "none"; teaMenu.style.display = "none";
customMenu.style.display = "block"; customMenu.style.display = "block";
milkMenu.style.display = "none";
break; break;
} }
@ -125,6 +142,7 @@ document.addEventListener('DOMContentLoaded', function(){
let brewedMenu = document.getElementById("brewed-menu"); let brewedMenu = document.getElementById("brewed-menu");
let blendedMenu = document.getElementById("blended-menu"); let blendedMenu = document.getElementById("blended-menu");
let teaMenu = document.getElementById("tea-menu"); let teaMenu = document.getElementById("tea-menu");
let milkMenu = document.getElementById("milk-menu");
let customMenu = document.getElementById("custom-menu"); let customMenu = document.getElementById("custom-menu");

View File

@ -2,18 +2,16 @@
function createDrink(){ function createDrink(){
return { return {
size: drinkSizes.GRANDE, size: "Grande",
iced: false, iced: false,
caffeine: caffeineTypes.NORMAL, caffeine: "Normal",
type: drinkTypes.DRINK,
recipe: { recipe: {
assigned: false, assigned: false,
shotType: shotTypes.NORMAL, shotType: "Normal",
syrups: [], syrups: [],
addedSyrups: [], addedSyrups: [],
other: [], other: [],
addedOthers: [], addedOthers: []
milk: milkTypes.NONE,
}, },
} }
} }
@ -21,19 +19,19 @@ function createDrink(){
function changeSize(drink, size) { function changeSize(drink, size) {
switch(size){ switch(size){
case "SHORT": case "SHORT":
drink.size = drinkSizes.SHORT; drink.size = "Short";
break; break;
case "TALL": case "TALL":
drink.size = drinkSizes.TALL; drink.size = "Tall";
break; break;
case "GRANDE": case "GRANDE":
drink.size = drinkSizes.GRANDE; drink.size = "Grande";
break; break;
case "VENTI": case "VENTI":
drink.size = drinkSizes.VENTI; drink.size = "Venti";
break; break;
case "TRENTA": case "TRENTA":
drink.size = drinkSizes.TRENTA; drink.size = "Trenta";
break; break;
} }
return drink; return drink;
@ -50,35 +48,35 @@ function changeIced(drink){
function changeCaffeine(drink, caffeine){ function changeCaffeine(drink, caffeine){
switch(caffeine){ switch(caffeine){
case "DECAF": case "DECAF":
if(drink.caffeine === caffeineTypes.DECAF){ if(drink.caffeine === "Decaf"){
drink.caffeine = caffeineTypes.NORMAL; drink.caffeine = "Normal";
} }
else{ else{
drink.caffeine = caffeineTypes.DECAF; drink.caffeine = "Decaf";
} }
break; break;
case "HALFCAF": case "HALFCAF":
if(drink.caffeine === caffeineTypes.HALFCAF){ if(drink.caffeine === "1/2 Decaf"){
drink.caffeine = caffeineTypes.NORMAL; drink.caffeine = "Normal";
} }
else{ else{
drink.caffeine = caffeineTypes.HALFCAF; drink.caffeine = "1/2 Decaf";
} }
break; break;
case "TWOTHIRDS": case "TWOTHIRDS":
if(drink.caffeine === caffeineTypes.TWOTHIRDSCAF){ if(drink.caffeine === "2/3 Decaf"){
drink.caffeine = caffeineTypes.NORMAL; drink.caffeine = "Normal";
} }
else{ else{
drink.caffeine = caffeineTypes.TWOTHIRDSCAF; drink.caffeine = "2/3 Decaf";
} }
break; break;
case "THREEFOURTHS": case "THREEFOURTHS":
if(drink.caffeine === caffeineTypes.THREEFOURTHSCAF){ if(drink.caffeine === "3/4 Decaf"){
drink.caffeine = caffeineTypes.NORMAL; drink.caffeine = "Normal";
} }
else{ else{
drink.caffeine = caffeineTypes.THREEFOURTHSCAF; drink.caffeine = "3/4 Decaf";
} }
break; break;
} }
@ -87,20 +85,20 @@ function changeCaffeine(drink, caffeine){
function changeShotType(drink, shotType) { function changeShotType(drink, shotType) {
switch(shotType){ switch(shotType){
case "RESTRETTO": case "Restretto":
if(drink.recipe.shotType === shotTypes.RESTRETTO){ if(drink.recipe.shotType === "Restretto"){
drink.recipe.shotType = shotTypes.NORMAL; drink.recipe.shotType = "Normal";
} }
else{ else{
drink.recipe.shotType = shotTypes.RESTRETTO; drink.recipe.shotType = "Restretto";
} }
break; break;
case "LONG": case "Long":
if(drink.recipe.shotType === shotTypes.LONG){ if(drink.recipe.shotType === "Long"){
drink.recipe.shotType = shotTypes.NORMAL; drink.recipe.shotType = "Normal";
} }
else{ else{
drink.recipe.shotType = shotTypes.LONG; drink.recipe.shotType = "Long";
} }
break; break;
} }
@ -350,15 +348,15 @@ function standardPumps(size, mod){
modValue = mod; modValue = mod;
switch(size){ switch(size){
case drinkSizes.SHORT: case "Short":
return 2 + modValue; return 2 + modValue;
case drinkSizes.TALL: case "Tall":
return 3 + modValue; return 3 + modValue;
case drinkSizes.GRANDE: case "Grande":
return 4 + modValue; return 4 + modValue;
case drinkSizes.VENTI: case "Venti":
return 5 + modValue; return 5 + modValue;
case drinkSizes.TRENTA: case "Trenta":
return 7 + modValue; return 7 + modValue;
} }
} }
@ -371,13 +369,13 @@ function standardShots(size, mod){
modValue = mod; modValue = mod;
switch(size){ switch(size){
case drinkSizes.SHORT: case "Short":
return 1 + modValue; return 1 + modValue;
case drinkSizes.TALL: case "Tall":
return 1 + modValue; return 1 + modValue;
case drinkSizes.GRANDE: case "Grande":
return 2 + modValue; return 2 + modValue;
case drinkSizes.VENTI: case "Venti":
return 2 + modValue; return 2 + modValue;
} }
} }

View File

@ -1,47 +0,0 @@
"use strict"
const shotTypes = {
NORMAL: 0,
LONG: 1,
RESTRETTO: 2
}
const milkTypes = {
NONE: 0,
TWOPERCENT: 1,
NONFAT: 2,
WHOLE: 3,
COCONUT: 4,
SOY: 5,
ALMOND: 6,
ONEPERCENT: 7,
BREVE: 8,
HEAVYCREAM: 9
}
const drinkTypes = {
DRINK: 0,
BREW: 1,
ESPRESSO: 2,
FRAPPUCCINO: 3,
HOTTEA: 4,
ICEDTEA: 5,
COLDOTHER: 6,
HOTOTHER: 7
}
const drinkSizes = {
SHORT: 0,
TALL: 1,
GRANDE: 2,
VENTI: 3,
TRENTA: 4
}
const caffeineTypes = {
NORMAL: 1,
DECAF: 2,
HALFCAF: 3,
TWOTHIRDSCAF: 4,
THREEFOURTHSCAF: 5
}

View File

@ -69,19 +69,19 @@ function orderDisplay(drink){
} }
switch(drink.size){ switch(drink.size){
case drinkSizes.SHORT: case "Short":
o.size = "SH "; o.size = "SH ";
break; break;
case drinkSizes.TALL: case "Tall":
o.size = "TL "; o.size = "TL ";
break; break;
case drinkSizes.GRANDE: case "Grande":
o.size = "GR "; o.size = "GR ";
break; break;
case drinkSizes.VENTI: case "Venti":
o.size = "VT "; o.size = "VT ";
break; break;
case drinkSizes.TRENTA: case "Trenta":
o.size = "TR "; o.size = "TR ";
break; break;
} }
@ -94,7 +94,7 @@ function orderDisplay(drink){
} }
if(drink.iced){ if(drink.iced){
o.iced = "ICED<br>" o.iced = "ICED "
} }
else{ else{
o.iced = "" o.iced = ""
@ -102,16 +102,16 @@ function orderDisplay(drink){
switch(drink.caffeine){ switch(drink.caffeine){
case caffeineTypes.DECAF: case "Decaf":
o.caffeine = "Decaf <br>"; o.caffeine = "Decaf <br>";
break; break;
case caffeineTypes.HALFCAF: case "1/2 Decaf":
o.caffeine = "1/2 Decaf <br>"; o.caffeine = "1/2 Decaf <br>";
break; break;
case caffeineTypes.TWOTHIRDSCAF: case "2/3 Decaf":
o.caffeine = "2/3 Decaf <br>"; o.caffeine = "2/3 Decaf <br>";
break; break;
case caffeineTypes.THREEFOURTHSCAF: case "3/4 Decaf":
o.caffeine = "3/4 Decaf <br>"; o.caffeine = "3/4 Decaf <br>";
break; break;
default: default:
@ -131,8 +131,8 @@ function orderDisplay(drink){
} }
return o.size + return o.size +
o.name +
o.iced + o.iced +
o.name +
o.shotDeclaration + o.shotDeclaration +
o.caffeine + o.caffeine +
o.syrups + o.syrups +

View File

@ -6,7 +6,7 @@ function americano (drink) {
name: "Americano", name: "Americano",
assigned: true, assigned: true,
shots: standardShots(drink.size, 1), shots: standardShots(drink.size, 1),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -24,7 +24,7 @@ function espressoMacchiato (drink) {
name: "Espresso Macchiato", name: "Espresso Macchiato",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -42,7 +42,7 @@ function espressoMacchiato (drink) {
name: "Starbucks Double Shot On Ice", name: "Starbucks Double Shot On Ice",
assigned: true, assigned: true,
shots: shotsSBDS(), shots: shotsSBDS(),
milk: milkTypes.TWOPERCENT, milk: "2% Milk",
syrups: [ syrups: [
{ {
name: "Classic", name: "Classic",
@ -70,7 +70,7 @@ function latte (drink) {
name: "Latte", name: "Latte",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -80,7 +80,7 @@ function cinnamonDolceLatte (drink) {
name: "Cinnamon Dolce Latte", name: "Cinnamon Dolce Latte",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT, milk: "2% Milk",
syrups: [ syrups: [
{ {
name: "Cinnamon Dolce", name: "Cinnamon Dolce",
@ -96,7 +96,7 @@ function cinnamonDolceLatte (drink) {
name: "Cappuccino", name: "Cappuccino",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -106,7 +106,7 @@ function cinnamonDolceLatte (drink) {
name: "Flat White", name: "Flat White",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
function shotsSBDS(){ function shotsSBDS(){
switch (drink.size){ switch (drink.size){
@ -128,7 +128,7 @@ function cinnamonDolceLatte (drink) {
name: "Latte Macchiato", name: "Latte Macchiato",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -138,7 +138,7 @@ function skinnyLatte (drink) {
name: "Skinny Syrup Latte", name: "Skinny Syrup Latte",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.NONFAT milk: "Nonfat Milk"
} }
return recipe; return recipe;
} }
@ -148,7 +148,7 @@ function skinnyLatte (drink) {
name: "Skinny Cinnamon Dolce Latte", name: "Skinny Cinnamon Dolce Latte",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT, milk: "2% Milk",
syrups: [ syrups: [
{ {
name: "SF Cinnamon Dolce", name: "SF Cinnamon Dolce",
@ -164,7 +164,7 @@ function skinnyLatte (drink) {
name: "Caramel Macchiato", name: "Caramel Macchiato",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT, milk: "2% Milk",
syrups: [ syrups: [
{ {
name: "Vanilla", name: "Vanilla",
@ -180,7 +180,7 @@ function skinnyLatte (drink) {
name: "Skinny Caramel Macchiato", name: "Skinny Caramel Macchiato",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.NONFAT, milk: "Nonfat Milk",
syrups: [ syrups: [
{ {
name: "SF Vanilla", name: "SF Vanilla",
@ -196,7 +196,7 @@ function skinnyLatte (drink) {
name: "Skinny Caramel Macchiato", name: "Skinny Caramel Macchiato",
assigned: true, assigned: true,
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -212,7 +212,7 @@ function mocha(drink){
} }
], ],
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -228,7 +228,7 @@ function skinnyMocha(drink){
} }
], ],
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.NONFAT milk: "Nonfat Milk"
} }
return recipe; return recipe;
} }
@ -244,7 +244,7 @@ function whiteMocha(drink){
} }
], ],
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -260,7 +260,7 @@ function pumpkinSpiceLatte(drink){
} }
], ],
shots: standardShots(drink.size), shots: standardShots(drink.size),
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -280,7 +280,7 @@ function coffeeFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -305,7 +305,7 @@ function mochaFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -330,7 +330,7 @@ function caramelFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -359,7 +359,7 @@ function javachipFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -382,7 +382,7 @@ function cafeVanillaFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -391,7 +391,7 @@ function espressoFrapp(drink){
let recipe = { let recipe = {
name: "Espresso Frapp", name: "Espresso Frapp",
assigned: true, assigned: true,
milk: milkTypes.WHOLE, milk: "Whole Milk",
shots: (function(){ shots: (function(){
if(drink.size == drinkSizes.VENTI){ if(drink.size == drinkSizes.VENTI){
return 2; return 2;
@ -430,7 +430,7 @@ function whiteMochaFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -449,7 +449,7 @@ function chaiFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -474,7 +474,7 @@ function doubleChocolateChipFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -493,7 +493,7 @@ function vanillaBeanFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -512,7 +512,7 @@ function whiteMochaCreamFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -530,7 +530,7 @@ function strawBerryCreamFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -555,7 +555,7 @@ function greenTeaFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -570,7 +570,7 @@ function syrupCreamFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -589,7 +589,7 @@ function oparahChaiFrapp(drink){
count: standardPumps(drink.size) - 1 count: standardPumps(drink.size) - 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -611,7 +611,7 @@ function strawberrySmoothe(drink){
count: 1 count: 1
} }
], ],
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -636,7 +636,7 @@ function chocolateSmoothe(drink){
count: 1 count: 1
} }
], ],
milk: milkTypes.WHOLE milk: "Whole Milk"
} }
return recipe; return recipe;
} }
@ -679,7 +679,7 @@ function chaiTeaLatte(drink){
count: standardPumps(drink.size) count: standardPumps(drink.size)
} }
], ],
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -694,7 +694,7 @@ function oparahChaiTeaLatte(drink){
count: standardPumps(drink.size) count: standardPumps(drink.size)
} }
], ],
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }
@ -709,7 +709,7 @@ function greenTeaLatte(drink){
count: standardPumps(drink.size) count: standardPumps(drink.size)
} }
], ],
milk: milkTypes.TWOPERCENT milk: "2% Milk"
} }
return recipe; return recipe;
} }