update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2019-06-07 15:24:52 -05:00
parent 0c858ff591
commit aaadaa665d
7 changed files with 1342 additions and 53 deletions

View File

@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Not released:
## [3.3.3][2019-06-07]
* Some fixes for better support `konva-node`
* TS types fixes
## [3.3.2][2019-06-03]
* TS types fixes

View File

@@ -15,7 +15,6 @@ Konva.document = {
};
// make some global injections
global.window = Konva.window;
global.requestAnimationFrame = cb => {
setImmediate(cb);
};

View File

@@ -1,6 +1,6 @@
{
"name": "konva-node",
"version": "0.9.0",
"version": "0.10.0",
"description": "Konva framework for NodeJS env",
"main": "index.js",
"files": [

1380
konva.js

File diff suppressed because it is too large Load Diff

4
konva.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@ function getDevicePixelRatio() {
var canvas = Util.createCanvasElement();
var context = canvas.getContext('2d') as any;
_pixelRatio = (function() {
var devicePixelRatio = glob.window.devicePixelRatio || 1,
var devicePixelRatio = Konva._global.devicePixelRatio || 1,
backingStoreRatio =
context.webkitBackingStorePixelRatio ||
context.mozBackingStorePixelRatio ||

View File

@@ -87,6 +87,7 @@ export const glob: any =
: {};
export const Konva = {
_global: glob,
version: '@@version',
isBrowser: detectBrowser(),
isUnminified: /param/.test(function(param) {}.toString()),