Updating README for individual API use
This commit is contained in:
@@ -17,6 +17,11 @@ To begin with, you include either the `scorm-again.js` or `scorm-again.min.js` f
|
|||||||
<script type="text/javascript" src="/dist/scorm-again.js"></script>
|
<script type="text/javascript" src="/dist/scorm-again.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or, if you would like to only pull in one API, you include either the `aicc.js`, `scorm12.js` or `scorm2004.js` files or their minified versions on your launching page:
|
||||||
|
```html
|
||||||
|
<script type="text/javascript" src="/dist/scorm2004.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
Or, if you would like to install the library using your package manager, you can do the following:
|
Or, if you would like to install the library using your package manager, you can do the following:
|
||||||
```sh
|
```sh
|
||||||
npm install scorm-again
|
npm install scorm-again
|
||||||
|
|||||||
Reference in New Issue
Block a user