From 4f2f07dd448739c5b620a4ac5f3457349b737e00 Mon Sep 17 00:00:00 2001 From: schencej Date: Mon, 9 Dec 2019 17:36:10 -0500 Subject: made all data model member variables public --- recipeBuddy/src/app/DataModels/step.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipeBuddy/src/app/DataModels/step.ts') diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts index 1c1ca7b..06c15c9 100644 --- a/recipeBuddy/src/app/DataModels/step.ts +++ b/recipeBuddy/src/app/DataModels/step.ts @@ -1,8 +1,8 @@ export class Step { - private instruction: string; - private timer: number; + public instruction: string; + public timer: number; - public contructor(instruction: string, timer: number) { + public constructor(instruction: string, timer: number) { this.instruction = instruction; this.timer = timer; } -- cgit v1.1