flat-musician-80308
02/10/2023, 6:11 PMbright-gpu-74537
02/10/2023, 6:11 PMflat-musician-80308
02/10/2023, 6:12 PMbright-gpu-74537
02/10/2023, 6:12 PMbright-gpu-74537
02/10/2023, 6:12 PMbright-gpu-74537
02/10/2023, 6:13 PMcount={
itemCount = 0: Nie masz 偶adnych aktywnych projekt贸w
itemCount = 1: Masz jeden aktywny projekt
itemCount = 11: Masz %itemCount% aktywnych projekt贸w
itemCount = 12: Masz %itemCount% aktywnych projekt贸w
itemCount = 13: Masz %itemCount% aktywnych projekt贸w
itemCount = 14: Masz %itemCount% aktywnych projekt贸w
itemCount mod 10 = 0: Masz %itemCount% aktywnych projekt贸w
itemCount mod 10 = 1: Masz %itemCount% aktywnych projekt贸w
itemCount mod 10 <= 4: Masz %itemCount% aktywne projekty
itemCount mod 10 > 5: Masz %itemCount% aktywnych projekt贸w
}
bright-gpu-74537
02/10/2023, 6:13 PMbig-angle-82801
02/10/2023, 6:13 PMbright-gpu-74537
02/10/2023, 6:14 PMbright-gpu-74537
02/10/2023, 6:14 PMbright-gpu-74537
02/10/2023, 6:14 PMbig-angle-82801
02/10/2023, 6:15 PMflat-musician-80308
02/10/2023, 6:15 PMbright-gpu-74537
02/10/2023, 6:15 PMflat-musician-80308
02/10/2023, 6:15 PMbright-gpu-74537
02/10/2023, 6:15 PMflat-musician-80308
02/10/2023, 6:19 PMcount = {
itemCount = 0: Nie masz
_: Masz
} {
itemCount = 0: 偶adnych aktywnych projekt贸w
itemCount = 1: jeden aktywny projekt
itemCount in 11...14: %itemCount% aktywnych projekt贸w
itemCount mod 10 in 2...4: %itemCount% aktywne projekty
_: %itemCount% aktywnych projekt贸w
}
this would be good unless I messed something up hereflat-musician-80308
02/10/2023, 6:19 PMbig-angle-82801
02/10/2023, 6:19 PMflat-musician-80308
02/10/2023, 6:20 PMflat-musician-80308
02/10/2023, 6:20 PMbig-angle-82801
02/10/2023, 6:22 PMbright-gpu-74537
02/10/2023, 6:49 PMcuddly-finland-31869
02/10/2023, 6:53 PMfetch
with an extern, and can call it fine. It returns a Promise
and I'm wonder how best to work with this in haxeui.bright-gpu-74537
02/10/2023, 6:54 PMbright-gpu-74537
02/10/2023, 6:55 PMfetch(...).then(result -> {
something.text = result.whatever;
});
cuddly-finland-31869
02/10/2023, 6:56 PMthen
and callbacks. Was just wondering if it was possible to use async
and await
style.bright-gpu-74537
02/10/2023, 6:56 PMbright-gpu-74537
02/10/2023, 6:57 PMcuddly-finland-31869
02/10/2023, 6:58 PM