node@5.10.1, canvas@1.3.14, jsdom@8.5.0 support

This commit is contained in:
Anton Lavrenov
2016-05-06 14:31:35 +07:00
parent 9470bc5fe2
commit 2c772bfea4
4 changed files with 17 additions and 11 deletions

View File

@@ -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);