Skip to content

Commit

Permalink
style: formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 14, 2022
1 parent 56a9841 commit b44c6b3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/pages/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { setupCache } = require('axios-cache-interceptor');
// EcmaScript (ES2017+)
import { setupCache } from 'axios-cache-interceptor';

// UMD (ES5+)
// UMD (ES5+)
const { setupCache } = window.AxiosCacheInterceptor;

// ESM with Skypack CDN
Expand All @@ -31,14 +31,10 @@ setupCache(axiosInstance, {

```html
<!-- Development UMD build for ES2017+ (~12.4 KiB) -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dev/index.bundle.js"
></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dev/index.bundle.js"></script>

<!-- Production UMD build for ES5+ (~14.1 KiB) -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.bundle.js"
></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.bundle.js"></script>
```

<br />
Expand Down

0 comments on commit b44c6b3

Please sign in to comment.