Riichi/build/dp5.js
2025-04-12 14:40:37 +02:00

1 line
No EOL
675 B
JavaScript

(()=>{"use strict";const n=document.getElementById("myCanvas"),t=n.getContext("2d");n.width=1050,n.height=1050;const e=document.createElement("canvas");e.getContext("2d"),e.width=n.width,e.height=n.height,"undefined"!=typeof window&&function(){return n=this,e=void 0,i=function*(){t?console.log("Load begining\n"):console.error("Context canvas indisponible")},new((o=void 0)||(o=Promise))((function(t,c){function a(n){try{r(i.next(n))}catch(n){c(n)}}function d(n){try{r(i.throw(n))}catch(n){c(n)}}function r(n){var e;n.done?t(n.value):(e=n.value,e instanceof o?e:new o((function(n){n(e)}))).then(a,d)}r((i=i.apply(n,e||[])).next())}));var n,e,o,i}().catch(console.error)})();