cmj build

This commit is contained in:
Anton Lavrenov
2021-09-23 11:17:50 -05:00
parent 586ea3d860
commit cc5b67ed10
15 changed files with 102 additions and 7911 deletions

View File

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

View File

@@ -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,

View File

@@ -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 () {