setup FastLayer. Layer won't extend FastLayer until FastLayer is complete

This commit is contained in:
Eric Rowell
2014-03-08 18:05:14 -08:00
parent 45ddf95629
commit 09af9f62dd
9 changed files with 256 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
suite('FastLayer', function() {
// ======================================================
test.only('basic render', function() {
var stage = addStage();
var layer = new Kinetic.FastLayer();
var circle = new Kinetic.Circle({
x: 100,
y: stage.getHeight() / 2,
radius: 70,
fill: 'green',
stroke: 'black',
strokeWidth: 4
});
layer.add(circle);
stage.add(layer);
});
});