make some API public

This commit is contained in:
Anton Lavrenov 2019-03-10 10:51:14 -05:00
parent e150791f97
commit ce9d5465cb
5 changed files with 14 additions and 6 deletions

View File

@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [3.1.8][2019-03-06]
* Better typescript definitions
* Remove `Object.assign` usage (for IE11 support)
## [3.1.7][2019-03-06]
* Better modules and TS types

View File

@ -2072,7 +2072,6 @@
_this.hitCanvas = true;
_this.context = new HitContext(_this);
_this.setSize(config.width, config.height);
_this.hitCanvas = true;
return _this;
}
return HitCanvas;
@ -9130,7 +9129,9 @@
shapes: shapes,
Animation: Animation,
Tween: Tween,
Easings: Easings
Easings: Easings,
Context: Context,
Canvas: Canvas
});
/**

2
konva.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -179,6 +179,5 @@ export class HitCanvas extends Canvas {
this.context = new HitContext(this);
this.setSize(config.width, config.height);
this.hitCanvas = true;
}
}

View File

@ -19,7 +19,8 @@ import { Shape, shapes } from './Shape';
import { Animation } from './Animation';
import { Tween, Easings } from './Tween';
Object.assign;
import { Context } from './Context';
import { Canvas } from './Canvas';
export const Konva = Util._assign(Global, {
Collection,
@ -38,5 +39,7 @@ export const Konva = Util._assign(Global, {
shapes,
Animation,
Tween,
Easings
Easings,
Context,
Canvas
});