Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Jan 11, 2019
1 parent a87de64 commit 4411bba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.

# Examples

***[Alignments](https://igv.org/web/release/2.1.0/examples/bam.html)***
***[Alignments](https://igv.org/web/release/2.2.0/examples/bam.html)***

***[GA4GH](https://igv.org/web/release/2.1.0/examples/ga4gh.html)***
***[GA4GH](https://igv.org/web/release/2.2.0/examples/ga4gh.html)***

***[Copy number](https://igv.org/web/release/2.1.0/examples/copyNumber.html)***
***[Copy number](https://igv.org/web/release/2.2.0/examples/copyNumber.html)***

***[Multiple regions](http://igv.org/release/2.1.0/test/examples/multi-locus.html)***
***[Multiple regions](http://igv.org/release/2.2.0/test/examples/multi-locus.html)***

***[More](http://igv.org/web/release/2.1.0/examples)***
***[More](http://igv.org/web/release/2.2.0/examples)***


# Quickstart
Expand All @@ -27,11 +27,11 @@ See the [Wiki](https://github.com/igvteam/igv.js/wiki) for more documentation.
igv.js consists of a single javascript file with no external dependencies. To link directly to the current release copy this snippet

```html
<script src="https://cdn.jsdelivr.net/npm/igv@2.1.0/dist/igv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/igv@2.2.0/dist/igv.min.js"></script>
```

Pre-built expanded and minified js files for ES5 (igv.js, igv.min.js) and ES6 (igv.esm.js, igv.esm.min.js)
can be downloaded from [https://igv.org/web/release/2.1.0/dist/](https://igv.org/web/release/2.1.0/dist/).
can be downloaded from [https://igv.org/web/release/2.2.0/dist/](https://igv.org/web/release/2.2.0/dist/).

Alternatively you can install with npm

Expand All @@ -45,11 +45,11 @@ To use igv.js include it with a script tag

***or*** import it as a requirejs module

```requirejs(['igv.min'], function (igv) {...}``` *(see [examples/igv-require.html](http://igv.org/web/release/2.1.0/examples/igv-require.html))*
```requirejs(['igv.min'], function (igv) {...}``` *(see [examples/igv-require.html](http://igv.org/web/release/2.2.0/examples/igv-require.html))*

***or*** import it as an es6 module

```import igv from 'igv.esm.min.js'``` *(see [examples/igv-esm.html](http://igv.org/web/release/2.1.0/examples/igv-esm.html))*
```import igv from 'igv.esm.min.js'``` *(see [examples/igv-esm.html](http://igv.org/web/release/2.2.0/examples/igv-esm.html))*



Expand Down

0 comments on commit 4411bba

Please sign in to comment.