финал M-3.2

This commit is contained in:
2021-09-17 15:03:46 +03:00
parent 6a118d3551
commit 3995c1662c
5 changed files with 38 additions and 18 deletions

View File

@@ -1,9 +1,9 @@
function События()
{
this.создать = function()
{
this.создать = function()
{
this.обработчики = [];
};
};
this.подписать = function(обработчик)
{
@@ -25,7 +25,7 @@ function События()
обработчик.обработатьСобытие(событие);
}
};
// Конструктор.
this.создать();
}