mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -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
|
||||
|
@@ -15,7 +15,6 @@ Konva.document = {
|
||||
};
|
||||
|
||||
// make some global injections
|
||||
global.window = Konva.window;
|
||||
global.requestAnimationFrame = cb => {
|
||||
setImmediate(cb);
|
||||
};
|
||||
|
@@ -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": [
|
||||
|
4
konva.min.js
vendored
4
konva.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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 ||
|
||||
|
@@ -87,6 +87,7 @@ export const glob: any =
|
||||
: {};
|
||||
|
||||
export const Konva = {
|
||||
_global: glob,
|
||||
version: '@@version',
|
||||
isBrowser: detectBrowser(),
|
||||
isUnminified: /param/.test(function(param) {}.toString()),
|
||||
|
Reference in New Issue
Block a user