Skip to content

Commit

Permalink
second commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0APOCALYPSE0 committed Dec 31, 2019
1 parent 89bc763 commit cbda10e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}"
}
]
}
1 change: 1 addition & 0 deletions src/app/calculator/calculator.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class CalculatorComponent implements OnInit {
this.firstOperand = result;
}
this.operator = op;
if (op !== '=') this.currentNumber = op;
this.waitForSecondNumber = true;
console.log(this.firstOperand);
}
Expand Down

0 comments on commit cbda10e

Please sign in to comment.