Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
a-jie committed Jun 3, 2018
1 parent d258625 commit f9537c6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,24 @@ Check out examples at [http://a-jie.github.io/Agile/](http://a-jie.github.io/Agi
- Agile’s API has high similar characteristic with actionscript 3.0, you can learn it in 10 minutes.

## Usage
Download the [minified library](https://github.com/a-jie/Agile/blob/master/build/agile.min.js) and include it in your html document.
#### Download the [minified library](https://github.com/a-jie/Agile/blob/master/build/agile.min.js) and include it in your html document.

```html
<script src="js/agile.min.js"></script>
```

Create and move a circle:

#### Or install using npm
[![anix](https://nodei.co/npm/agilejs.png)](https://npmjs.org/package/agilejs)

```
npm install agilejs --save
...
import Agile from 'agilejs';
```

#### Create and move a circle:

```javascript
//init Agile
Expand Down

0 comments on commit f9537c6

Please sign in to comment.