mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 10:47:59 +08:00
all unit tests are no passing
This commit is contained in:
@@ -3,27 +3,8 @@ suite('Polygon', function() {
|
||||
var stage = addStage();
|
||||
|
||||
var layer = new Kinetic.Layer();
|
||||
|
||||
var points = [{
|
||||
x: 73,
|
||||
y: 192
|
||||
}, {
|
||||
x: 73,
|
||||
y: 160
|
||||
}, {
|
||||
x: 340,
|
||||
y: 23
|
||||
}, {
|
||||
x: 500,
|
||||
y: 109
|
||||
}, {
|
||||
x: 499,
|
||||
y: 139
|
||||
}, {
|
||||
x: 342,
|
||||
y: 93
|
||||
}];
|
||||
|
||||
var points = [73,192,73,160,340,23,500,109,499,139,342,93];
|
||||
|
||||
var poly = new Kinetic.Line({
|
||||
points: points,
|
||||
fill: 'green',
|
||||
|
Reference in New Issue
Block a user