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

@@ -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()),