This commit is contained in:
2021-09-17 14:39:13 +03:00
parent 104837cb08
commit d122f06140
4 changed files with 36 additions and 4 deletions

View File

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