From ede45cea8706eb8540e466df9861c2af8ebf9c44 Mon Sep 17 00:00:00 2001 From: RblSb Date: Sun, 4 Jul 2021 03:59:50 +0300 Subject: Reformat --- src/VideoList.hx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/VideoList.hx') diff --git a/src/VideoList.hx b/src/VideoList.hx index 0799cfa..ef1d113 100644 --- a/src/VideoList.hx +++ b/src/VideoList.hx @@ -7,10 +7,8 @@ import Types.VideoItem; // items:Array, // itemPos:Int // } - @:forward abstract VideoList(Array) from Array to Array { - public function new() { this = []; } @@ -68,8 +66,9 @@ abstract VideoList(Array) from Array to Array { public function itemsByUser(client:Client):Int { var i = 0; - for (item in this) if (item.author == client.name) i++; + for (item in this) { + if (item.author == client.name) i++; + } return i; } - } -- cgit v1.2.3