Skip to content

Commit

Permalink
feat(cards): CDN at "https://unpkg.com/cardsJS/dist/"
Browse files Browse the repository at this point in the history
Bower is not supported.  See https://unpkg.com for the reasons.
  • Loading branch information
richardschneider committed Sep 26, 2016
1 parent 9c82b6b commit b4b86f1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 61 deletions.
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

20 changes: 0 additions & 20 deletions .jscsrc

This file was deleted.

25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,31 @@ I'm using the [Vectorized Playing Cards 1.3](http://code.google.com/p/vectorized
The [change log](https://github.com/richardschneider/cardsJS/releases) is automatically produced with
the help of [semantic-release](https://github.com/semantic-release/semantic-release).

## Getting started

**cardsJS** is available for [Node.js](https://nodejs.org) and most modern browsers. If you want to know if your currrent browser is compatible, run the [online test suite](https://unpkg.com/table-master-parser/test/index.html).

Install with [npm](http://blog.npmjs.org/post/85484771375/how-to-install-npm)

> npm install cardsJS --save


### Browser

Include the package from your project

````html
<link rel="stylesheet" type="text/css" href="./node_modules/cardsJS/dist/cards.min.css" />
<script src="./node_modules/cardsJS/dist/cards.min.js" type="text/javascript"></script>
````

or from the [unpkg CDN](https://unpkg.com)

````html
<link rel="stylesheet" type="text/css" href="https://unpkg.com/cardsJS/dist/cards.min.css" />
<script src="https://unpkg.com/cardsJS/dist/cards.min.js" type="text/javascript"></script>
````

## Cards

Use the `<img class='card' src='cards/id.svg'>` HTML tag; where *id* is the identifier of the card. The *id* is composed of the rank and then the suit of the card,
Expand Down
37 changes: 0 additions & 37 deletions bower.json

This file was deleted.

0 comments on commit b4b86f1

Please sign in to comment.