Skip to content

Commit

Permalink
Switch to bundle.run instead of jsDelivr
Browse files Browse the repository at this point in the history
Fixes #160
  • Loading branch information
dubzzz committed Aug 13, 2018
1 parent ae4abd7 commit dcdbb09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ Useful documentations:
In order to use fast-check from a web-page (for instance with QUnit or other testing tools), you have to reference the web-aware script as follows:

```html
<script src="https://cdn.jsdelivr.net/npm/fast-check/lib/bundle.js"></script>
<script src="https://bundle.run/fast-check"></script>
```

You can also reference a precise version by setting the version you want in the url:

```html
<script src="https://cdn.jsdelivr.net/npm/fast-check@0.0.11/lib/bundle.js"></script>
<script src="https://bundle.run/fast-check@0.0.11"></script>
```

Once it has been included, fast-check becomes accessible directly by calling `fastcheck` (in `window.fastcheck`). I highly recommend you to alias it by `fc` whenever possible by running `const fc = fastcheck` at the beginning of the scripts using it.
Once it has been included, fast-check becomes accessible directly by calling `fastCheck` (in `window.fastCheck`). I highly recommend you to alias it by `fc` whenever possible by running `const fc = fastCheck` at the beginning of the scripts using it.

## Why should I migrate to fast-check?

Expand Down

0 comments on commit dcdbb09

Please sign in to comment.