Skip to content

Commit e88b403

Browse files
committed
closes iliakan#96
1 parent 3d8051d commit e88b403

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • 1-js/8-oop/5-functional-inheritance/2-coffeemachine-disable-stop/solution.view

1-js/8-oop/5-functional-inheritance/2-coffeemachine-disable-stop/solution.view/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@
4848
};
4949

5050
}
51-
51+
5252
var coffeeMachine = new CoffeeMachine(10000);
53+
coffeeMachine.enable();
5354
coffeeMachine.run();
55+
coffeeMachine.disable(); // остановит работу, ничего не выведет
5456
</script>
5557

5658
</body>

0 commit comments

Comments
 (0)