Skip to content

Commit

Permalink
fix: fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
aaharu committed Oct 14, 2019
1 parent 771d7ac commit 812cf8a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Change Log

## [2.0.0] - 2019-10-15
## [2.0.0] - 2019-10-14

### Changed

Expand Down
19 changes: 4 additions & 15 deletions README.md
Expand Up @@ -10,8 +10,6 @@
<div id="content"></div>
<script src="https://unpkg.com/gifken/gifken.js"></script>
<script type="application/javascript">
const gifken = require("gifken");
window.onload = () => {
var newgif = new gifken.Gif();
newgif.width = 100;
Expand Down Expand Up @@ -115,19 +113,6 @@ fs.writeFile(

- [API Docs](http://aaharu.github.io/gifken/docs/)

## Directories

```
gifken
├── build build results
├── node_modules
├── sample sample software using gifken
│   ├── chromeextension
│ └── node
├── src source directory
└── test
```

## Build

To build gifken, following tools are required
Expand All @@ -142,6 +127,10 @@ npm install
npm run-script build
```

## Similar Projects

* [omggif](https://github.com/deanm/omggif)

## License

MIT
Expand Down
2 changes: 1 addition & 1 deletion sample/node/app.js
@@ -1,4 +1,4 @@
const gifken = require("../../lib/gifken"),
const gifken = require("../../"),
fs = require("fs"),
path = require("path");

Expand Down
11 changes: 10 additions & 1 deletion src/browser.ts
Expand Up @@ -5,4 +5,13 @@ import { GifParser } from "./GifParser";
import { GifVersion } from "./GifVersion";
import { GifPresenter } from "./GifPresenter";

export { Gif, GifColor, GifFrame, GifParser, GifVersion, GifPresenter };
const gifken = {
Gif,
GifColor,
GifFrame,
GifParser,
GifVersion,
GifPresenter
};

export default gifken;

0 comments on commit 812cf8a

Please sign in to comment.