forked from konvajs/konva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). | |
|
||
## [Not released][Not released] | ||
|
||
### Changed | ||
- typescript definition in npm package | ||
- [email protected], [email protected], [email protected] support | ||
|
||
|
||
## [0.12.4][2016-04-19] | ||
|
||
### Changed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ define(['./konva'], function(Konva) { | |
###3 CommonJS style with npm: | ||
|
||
```bash | ||
npm install konva | ||
npm install konva --save | ||
``` | ||
|
||
```javascript | ||
|
@@ -110,18 +110,18 @@ import 'konva/src/shapes/rect'; | |
|
||
###5 NodeJS | ||
|
||
Support for node 0.12.x only for now. | ||
You have to install some deps manually to use Konva in nodejs env. | ||
|
||
We are using [node-canvas](https://github.com/LearnBoost/node-canvas) to create canvas element. | ||
We are using [node-canvas](https://github.com/Automattic/node-canvas) to create canvas element. | ||
|
||
1. Install node-canvas dependencies [https://github.com/LearnBoost/node-canvas/wiki/_pages](https://github.com/LearnBoost/node-canvas/wiki/_pages) | ||
2. `npm install canvas@1.2.x` | ||
2. `npm install jsdom@3.x` (jsdom v4 require iojs) | ||
3. `npm install konva` | ||
1. Install node-canvas dependencies [https://github.com/Automattic/node-canvas](https://github.com/Automattic/node-canvas) | ||
2. `npm install canvas --save` | ||
2. `npm install jsdom --save` | ||
3. `npm install konva --save` | ||
|
||
See file `resources/nodejs-demo.js` for example. | ||
|
||
Last tested with [email protected], [email protected], [email protected] | ||
|
||
#Change log | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters