Skip to content

Commit a90e7bf

Browse files
committed
update changes
1 parent fbc7cf5 commit a90e7bf

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

api/controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ exports.calculate = function(req, res) {
1010
res.json({ error: err.message });
1111
});
1212

13-
// TODO: Add operator
1413
var operations = {
1514
'add': function(a, b) { return Number(a) + Number(b) },
1615
'subtract': function(a, b) { return a - b },

public/client.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ var operation = null;
1919
function calculate(operand1, operand2, operation) {
2020
var uri = location.origin + "/arithmetic";
2121

22-
// TODO: Add operator
2322
switch (operation) {
2423
case '+':
2524
uri += "?operation=add";

public/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
<button class="btn" onClick="operationPressed('+')">+</button>
4141
<button class="btn" onClick="equalPressed()">=</button>
4242

43-
<!-- TODO: Buttons -->
4443
</div>
4544
</div>
4645
</div>

0 commit comments

Comments
 (0)