update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2017-11-01 08:47:14 +05:30
parent 5090bec889
commit dc7dd00209
3 changed files with 10 additions and 1 deletions

View File

@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Not released][Not released]
## [1.7.5][2017-11-01]
## Fixed
- Some typescript fixes
## [1.7.4][2017-10-30]
## Fixed

4
konva.d.ts vendored
View File

@@ -332,6 +332,7 @@ declare module Konva {
stroke?: string;
strokeWidth?: number;
strokeScaleEnabled?: boolean;
strokeHitEnabled?: boolean;
strokeEnabled?: boolean;
lineJoin?: string;
lineCap?: string;
@@ -476,10 +477,11 @@ declare module Konva {
interface LayerConfig extends ContainerConfig {
clearBeforeDraw?: boolean;
hitGraphEnabled?: boolean;
}
class FastLayer extends Container {
constructor (config?: ContainerConfig);
constructor (config?: LayerConfig);
drawScene(): void;
hitGraphEnabled(val: boolean): FastLayer;
batchDraw(): void;

View File

@@ -51,7 +51,9 @@
isBrowser:
typeof window !== 'undefined' &&
// browser case
({}.toString.call(window) === '[object Window]' ||
// electron case
{}.toString.call(window) === '[object global]'),
// configurations