mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 10:31:52 +08:00
node@5.10.1, canvas@1.3.14, jsdom@8.5.0 support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var fs = require('fs'),
|
||||
Konva = require('../dist/konva-dev');
|
||||
Konva = require('konva');
|
||||
|
||||
|
||||
// Create stage. Container parameter is not required in NodeJS.
|
||||
@@ -30,6 +30,7 @@ stage.setSize({
|
||||
height : 200
|
||||
});
|
||||
|
||||
|
||||
// check tween works
|
||||
var tween = new Konva.Tween({
|
||||
node : rect,
|
||||
@@ -67,4 +68,4 @@ setTimeout(function(){
|
||||
|
||||
}
|
||||
});
|
||||
}, 1050);
|
||||
}, 1050);
|
||||
|
||||
Reference in New Issue
Block a user