Show warning message if several instances of Konva are added to page. close #113

This commit is contained in:
Anton Lavrenov
2016-01-02 17:33:50 +08:00
parent c7ae11cd01
commit 6e3c69fae0
4 changed files with 39 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- event delegation. You can use it in this way: `layer.on('click', 'Circle', handler);`
- new `node.findAncestors(selector)` and `node.findAncestor(selector)` functions
- optional selector parametr for `stage.getIntersection` and `layer.getIntersection`
- show warning message if several instances of Konva are added to page.
### Changed
- `moveTo` and some other methods return `this`