Skip to content

Commit

Permalink
Improve README [ci skip] (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
flowercartelet authored Apr 5, 2018
1 parent b843b8c commit 31fee64
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@

## Install

```shell
npm install --save eorzea-time
```console
$ npm install --save eorzea-time
```

or

Download the **eorzea-time.js** from [releases page](https://github.com/flowercartelet/eorzea-time/releases)
```console
$ yarn add eorzea-time
```

or

Download the **eorzea-time.min.js** from [releases page](https://github.com/flowercartelet/eorzea-time/releases)

## Usage

Expand All @@ -22,10 +28,13 @@ Download the **eorzea-time.js** from [releases page](https://github.com/flowerca
<dt>eorzea time
<dd><span id="eorzea-time"></span>
</dl>
<script src="eorzea-time.js"></script>
<script src="eorzea-time.min.js"></script>
<script>
(function() {
'use strict';
var result = document.getElementById('eorzea-time');
(function timer() {
setTimeout(function() {
var eorzeaTime = new EorzeaTime();
Expand All @@ -52,13 +61,14 @@ console.log(eorzeaTime.toString());
import EorzeaTime from 'eorzea-time';

const eorzeaTime = new EorzeaTime();
console.log(eorzeaTime.toString);
console.log(eorzeaTime.toString());
```

## License

[MIT](LICENSE)

```plain
FINAL FANTASY is a registered trademark of Square Enix Holdings Co., Ltd.

FINAL FANTASY XIV (c) 2010-2016 SQUARE ENIX CO., LTD. All Rights Reserved.
```

0 comments on commit 31fee64

Please sign in to comment.