From f94d81c5283cbf5be2f2a96faa21807e381e1c5c Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 2 Dec 2019 19:48:15 -0500 Subject: Fix typos in DataModels Mostly variable name fixes and type fixes. Also delete unused DataModels --- recipeBuddy/src/app/DataModels/ingredients.ts | 29 --------------------------- 1 file changed, 29 deletions(-) delete mode 100644 recipeBuddy/src/app/DataModels/ingredients.ts (limited to 'recipeBuddy/src/app/DataModels/ingredients.ts') diff --git a/recipeBuddy/src/app/DataModels/ingredients.ts b/recipeBuddy/src/app/DataModels/ingredients.ts deleted file mode 100644 index 6f96e69..0000000 --- a/recipeBuddy/src/app/DataModels/ingredients.ts +++ /dev/null @@ -1,29 +0,0 @@ -export class Ingredients { - private names: string[]; - private amounts: number[]; - private units: string[]; - private types: string[]; - - public constructor(names: string[], amounts: number[], units: string[], types: string[]) { - this.names = names; - this.amounts = amounts; - this.units = units; - this.types = types; - } - - public getNames(): string[] { - return this.names; - } - - public getAmounts(): number[] { - return this.amounts; - } - - public getUnits(): string[] { - return this.units; - } - - public getTypes(): string[] { - return this.types; - } -} -- cgit v1.1