mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 02:37:59 +08:00
removed old test directory. added getter setter overloaders to Shape. Began redoing documentation on Node
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
console.log('test')
|
||||
|
||||
var stage;
|
||||
var circlesLayer;
|
||||
var circles;
|
||||
@@ -67,7 +69,7 @@
|
||||
var x = Math.random() * width;
|
||||
var y = Math.random() * height;
|
||||
if (VERSION === 'new') {
|
||||
circles[i].setPosition({x: x, y: y});
|
||||
circles[i].position({x: x, y: y});
|
||||
}
|
||||
else {
|
||||
circles[i].setPosition(x, y);
|
||||
|
Reference in New Issue
Block a user