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:
|
## Not released:
|
||||||
|
|
||||||
|
## [3.3.3][2019-06-07]
|
||||||
|
|
||||||
|
* Some fixes for better support `konva-node`
|
||||||
|
* TS types fixes
|
||||||
|
|
||||||
## [3.3.2][2019-06-03]
|
## [3.3.2][2019-06-03]
|
||||||
|
|
||||||
* TS types fixes
|
* TS types fixes
|
||||||
|
@@ -15,7 +15,6 @@ Konva.document = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// make some global injections
|
// make some global injections
|
||||||
global.window = Konva.window;
|
|
||||||
global.requestAnimationFrame = cb => {
|
global.requestAnimationFrame = cb => {
|
||||||
setImmediate(cb);
|
setImmediate(cb);
|
||||||
};
|
};
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "konva-node",
|
"name": "konva-node",
|
||||||
"version": "0.9.0",
|
"version": "0.10.0",
|
||||||
"description": "Konva framework for NodeJS env",
|
"description": "Konva framework for NodeJS env",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"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 canvas = Util.createCanvasElement();
|
||||||
var context = canvas.getContext('2d') as any;
|
var context = canvas.getContext('2d') as any;
|
||||||
_pixelRatio = (function() {
|
_pixelRatio = (function() {
|
||||||
var devicePixelRatio = glob.window.devicePixelRatio || 1,
|
var devicePixelRatio = Konva._global.devicePixelRatio || 1,
|
||||||
backingStoreRatio =
|
backingStoreRatio =
|
||||||
context.webkitBackingStorePixelRatio ||
|
context.webkitBackingStorePixelRatio ||
|
||||||
context.mozBackingStorePixelRatio ||
|
context.mozBackingStorePixelRatio ||
|
||||||
|
@@ -87,6 +87,7 @@ export const glob: any =
|
|||||||
: {};
|
: {};
|
||||||
|
|
||||||
export const Konva = {
|
export const Konva = {
|
||||||
|
_global: glob,
|
||||||
version: '@@version',
|
version: '@@version',
|
||||||
isBrowser: detectBrowser(),
|
isBrowser: detectBrowser(),
|
||||||
isUnminified: /param/.test(function(param) {}.toString()),
|
isUnminified: /param/.test(function(param) {}.toString()),
|
||||||
|
Reference in New Issue
Block a user