From 0d0e06598ad53479167ec3450a24c940506dd0d8 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Tue, 25 Jun 2024 14:00:09 -0500 Subject: [PATCH] fix: recommend cloudflare vs polyfill.io --- README.md | 12 ++++++------ index.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 64a8301..741aa5c 100644 --- a/README.md +++ b/README.md @@ -454,7 +454,7 @@ This package requires Promise support, therefore you will need to polyfill if yo This is the solution for you if you're just using ` + + ``` * Promise is not supported in op\_mini all @@ -510,7 +510,7 @@ We strongly recommend that you implement one of the following code snippets with ##### HTML ```html - + @@ -549,7 +549,7 @@ We strongly recommend that you implement one of the following code snippets with > You can do a similar approach with React, EJS, or another templating language. ```pug -script(src='https://polyfill.io/v3/polyfill.min.js?features=Promise') +script(src='https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise') script(src='https://unpkg.com/xhook') script(src='https://unpkg.com/cabin') script(src='https://unpkg.com/parse-request') @@ -658,7 +658,7 @@ It does require you to have a polyfill if you're using it in the browser (only i The example below demonstrates using StackTrace with [uncaught][] to catch global errors below. ```html - + diff --git a/index.html b/index.html index 616a1b0..eaf7cc6 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@