From 70a239b0dca54184062188ae1767cd4c4d08fdd3 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 18 Jul 2020 03:01:18 -0700 Subject: [PATCH] Removed public script. Added no-cors to fetch. --- .gitignore | 1 + public/umami.js | 1 - scripts/umami/index.js | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 public/umami.js diff --git a/.gitignore b/.gitignore index a2442a92..47be70dc 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ # production /build +/public/umami.js # misc .DS_Store diff --git a/public/umami.js b/public/umami.js deleted file mode 100644 index c7451713..00000000 --- a/public/umami.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";function e(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}var t=setTimeout;function n(e){return Boolean(e&&void 0!==e.length)}function r(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void u(t.promise,e)}s(t.promise,r)}else(1===e._state?s:u)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void a(e);if("function"==typeof n)return void c((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,a(e)}catch(t){u(e,t)}var r,i}function u(e,t){e._state=2,e._value=t,a(e)}function a(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t res.json()); }