diff --git a/docs/docs/tutorials/installation.mdx b/docs/docs/tutorials/installation.mdx index aef3c6cae..10063f7c4 100644 --- a/docs/docs/tutorials/installation.mdx +++ b/docs/docs/tutorials/installation.mdx @@ -142,6 +142,8 @@ yarn add @egjs/svelte-flicking ## CDN Links +Unlike individual or internal cases, CDN has unpredictable problems with services, so it is better to use your own files. + ### packaged(with dependencies) ```html diff --git a/docs/docs/tutorials/polyfills.mdx b/docs/docs/tutorials/polyfills.mdx index 665d53c83..b2b367f57 100644 --- a/docs/docs/tutorials/polyfills.mdx +++ b/docs/docs/tutorials/polyfills.mdx @@ -6,6 +6,7 @@ custom_edit_url: null sidebar_position: 6 --- +### Before Flicking is based on es5 and additionally needs es6 Promise to work properly. es5 is basically supported on IE9+ ([Source](http://kangax.github.io/compat-table/es5/)) So, only es6 Promise is needed to run Flicking on the older browsers. @@ -14,4 +15,28 @@ So, only es6 Promise is needed to run Flicking on the older browsers. ``` +Adding the above script will make Flicking run on the older browsers. + +### After + + +Flicking is based on es5 and additionally needs es6 Promise to work properly. +es5 is basically supported on IE9+ ([Source](http://kangax.github.io/compat-table/es5/)) +So, only es6 Promise is needed to run Flicking on the older browsers. + +* How to use it via CDN (For personal or internal use) +```html + +``` +* How to use it yourself (Unlike individual or internal cases, CDN has unpredictable problems with services, so it is better to use your own files.) +``` +# Download +https://cdn.jsdelivr.net/npm/es6-promise/dist/es6-promise.auto.js +``` +* How to use it via module (The pollution of the global scope) +```js +require('es6-promise').polyfill(); +``` + + Adding the above script will make Flicking run on the older browsers. diff --git a/docs/docs/tutorials/quick-start.mdx b/docs/docs/tutorials/quick-start.mdx index 4d2beef2f..36aa8aa9f 100644 --- a/docs/docs/tutorials/quick-start.mdx +++ b/docs/docs/tutorials/quick-start.mdx @@ -23,7 +23,7 @@ import TabItem from '@theme/TabItem'; ]}> -Add the script/CSS to the page. +Add the script/CSS to the page. (Unlike individual or internal cases, CDN has unpredictable problems with services, so it is better to use your own files.) ```html