-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle.js
1 lines (1 loc) · 853 Bytes
/
bundle.js
1
!function o(l,f,a){function u(t,e){if(!f[t]){if(!l[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var n=f[t]={exports:{}};l[t][0].call(n.exports,function(e){return u(l[t][1][e]||e)},n,n.exports,o,l,f,a)}return f[t].exports}for(var c="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){var i,n,o,l=document.createElement("canvas"),f=l.getContext("2d");document.body.appendChild(l),n=i=256,o=window.devicePixelRatio,l.width=i*o,l.height=n*o,l.style.width=i+"px",l.style.height=n+"px",f.save(),f.scale(o,o),f.fillStyle="tomato",f.fillRect(0,0,i,n),f.fillStyle="orange",f.fillRect(50,100,50,25),f.fillStyle="red",f.beginPath(),f.arc(150,150,50,0,2*Math.PI),f.fill(),f.restore()},{}]},{},[1]);