mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 18:51:52 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## [new version][unreleased]
|
## [new version][unreleased]
|
||||||
|
|
||||||
|
## [2.5.1][2018-11-08]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Use custom functions for `trimRight` and `trimLeft` (for better browsers support)
|
* Use custom functions for `trimRight` and `trimLeft` (for better browsers support)
|
||||||
|
|||||||
4
konva.js
4
konva.js
@@ -1025,10 +1025,10 @@
|
|||||||
return retObj;
|
return retObj;
|
||||||
},
|
},
|
||||||
trimRight: function(str) {
|
trimRight: function(str) {
|
||||||
return str.replace(/\s+$/, "");
|
return str.replace(/\s+$/, '');
|
||||||
},
|
},
|
||||||
trimLeft: function(str) {
|
trimLeft: function(str) {
|
||||||
return str.replace(/^\s+/, "");
|
return str.replace(/^\s+/, '');
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* check intersection of two client rectangles
|
* check intersection of two client rectangles
|
||||||
|
|||||||
@@ -765,10 +765,10 @@
|
|||||||
return retObj;
|
return retObj;
|
||||||
},
|
},
|
||||||
trimRight: function(str) {
|
trimRight: function(str) {
|
||||||
return str.replace(/\s+$/, "");
|
return str.replace(/\s+$/, '');
|
||||||
},
|
},
|
||||||
trimLeft: function(str) {
|
trimLeft: function(str) {
|
||||||
return str.replace(/^\s+/, "");
|
return str.replace(/^\s+/, '');
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* check intersection of two client rectangles
|
* check intersection of two client rectangles
|
||||||
|
|||||||
Reference in New Issue
Block a user