mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
cmj build
This commit is contained in:
@@ -2,7 +2,7 @@ import { assert } from 'chai';
|
||||
|
||||
import { addStage, Konva, cloneAndCompareLayer } from './test-utils';
|
||||
|
||||
describe.only('Arrow', function () {
|
||||
describe('Arrow', function () {
|
||||
// ======================================================
|
||||
it('add arrow', function () {
|
||||
var stage = addStage();
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { assert } from 'chai';
|
||||
import { Shape } from '../../src/Shape.js';
|
||||
import { Shape } from '../../src/Shape';
|
||||
|
||||
import {
|
||||
addStage,
|
||||
@@ -1018,56 +1018,12 @@ describe('Node', function () {
|
||||
animation: 'standing',
|
||||
animations: {
|
||||
standing: [
|
||||
0,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
52,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
105,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
158,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
210,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
262,
|
||||
0,
|
||||
49,
|
||||
109,
|
||||
0, 0, 49, 109, 52, 0, 49, 109, 105, 0, 49, 109, 158, 0, 49, 109,
|
||||
210, 0, 49, 109, 262, 0, 49, 109,
|
||||
],
|
||||
kicking: [
|
||||
0,
|
||||
109,
|
||||
45,
|
||||
98,
|
||||
45,
|
||||
109,
|
||||
45,
|
||||
98,
|
||||
95,
|
||||
109,
|
||||
63,
|
||||
98,
|
||||
156,
|
||||
109,
|
||||
70,
|
||||
98,
|
||||
229,
|
||||
109,
|
||||
60,
|
||||
98,
|
||||
287,
|
||||
109,
|
||||
41,
|
||||
98,
|
||||
0, 109, 45, 98, 45, 109, 45, 98, 95, 109, 63, 98, 156, 109, 70, 98,
|
||||
229, 109, 60, 98, 287, 109, 41, 98,
|
||||
],
|
||||
},
|
||||
frameRate: 10,
|
||||
|
@@ -10,8 +10,8 @@ Konva.enableTrace = true;
|
||||
Konva.showWarnings = true;
|
||||
|
||||
import { imagediff } from './imagediff';
|
||||
import { Layer } from '../../src/Layer.js';
|
||||
import { Stage } from '../../src/Stage.js';
|
||||
import { Layer } from '../../src/Layer';
|
||||
import { Stage } from '../../src/Stage';
|
||||
|
||||
// reset some data
|
||||
beforeEach(function () {
|
||||
|
Reference in New Issue
Block a user