@vpmedia/phaser 1.83.0 → 1.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/SECURITY.md +5 -0
- package/package.json +12 -10
- package/src/phaser/core/animation_manager.js +6 -2
- package/src/phaser/core/game.js +2 -8
- package/src/phaser/core/loader.js +4 -2
- package/src/phaser/core/sound_manager.js +9 -5
- package/src/phaser/display/canvas/tinter.js +4 -2
- package/types/phaser/core/animation_manager.d.ts.map +1 -1
- package/types/phaser/core/game.d.ts +0 -1
- package/types/phaser/core/game.d.ts.map +1 -1
- package/types/phaser/core/loader.d.ts.map +1 -1
- package/types/phaser/core/sound_manager.d.ts.map +1 -1
- package/types/phaser/display/canvas/tinter.d.ts.map +1 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -236
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/coverage/src/index.html +0 -116
- package/coverage/src/index.js.html +0 -241
- package/coverage/src/phaser/core/animation.js.html +0 -1450
- package/coverage/src/phaser/core/animation_manager.js.html +0 -1117
- package/coverage/src/phaser/core/animation_parser.js.html +0 -373
- package/coverage/src/phaser/core/array_set.js.html +0 -562
- package/coverage/src/phaser/core/cache.js.html +0 -2404
- package/coverage/src/phaser/core/const.js.html +0 -901
- package/coverage/src/phaser/core/device.js.html +0 -373
- package/coverage/src/phaser/core/device_util.js.html +0 -850
- package/coverage/src/phaser/core/dom.js.html +0 -1042
- package/coverage/src/phaser/core/error_code.js.html +0 -109
- package/coverage/src/phaser/core/event_manager.js.html +0 -1264
- package/coverage/src/phaser/core/factory.js.html +0 -436
- package/coverage/src/phaser/core/frame.js.html +0 -415
- package/coverage/src/phaser/core/frame_data.js.html +0 -478
- package/coverage/src/phaser/core/frame_util.js.html +0 -169
- package/coverage/src/phaser/core/game.js.html +0 -1075
- package/coverage/src/phaser/core/index.html +0 -731
- package/coverage/src/phaser/core/input.js.html +0 -1576
- package/coverage/src/phaser/core/input_handler.js.html +0 -2959
- package/coverage/src/phaser/core/input_mouse.js.html +0 -988
- package/coverage/src/phaser/core/input_mspointer.js.html +0 -754
- package/coverage/src/phaser/core/input_pointer.js.html +0 -1645
- package/coverage/src/phaser/core/input_touch.js.html +0 -643
- package/coverage/src/phaser/core/loader.js.html +0 -3676
- package/coverage/src/phaser/core/loader_parser.js.html +0 -397
- package/coverage/src/phaser/core/raf.js.html +0 -184
- package/coverage/src/phaser/core/scale_manager.js.html +0 -3082
- package/coverage/src/phaser/core/scene.js.html +0 -265
- package/coverage/src/phaser/core/scene_manager.js.html +0 -1030
- package/coverage/src/phaser/core/signal.js.html +0 -859
- package/coverage/src/phaser/core/signal_binding.js.html +0 -388
- package/coverage/src/phaser/core/sound.js.html +0 -1678
- package/coverage/src/phaser/core/sound_manager.js.html +0 -1594
- package/coverage/src/phaser/core/sound_sprite.js.html +0 -265
- package/coverage/src/phaser/core/stage.js.html +0 -505
- package/coverage/src/phaser/core/time.js.html +0 -829
- package/coverage/src/phaser/core/timer.js.html +0 -1231
- package/coverage/src/phaser/core/timer_event.js.html +0 -157
- package/coverage/src/phaser/core/tween.js.html +0 -1486
- package/coverage/src/phaser/core/tween_data.js.html +0 -976
- package/coverage/src/phaser/core/tween_easing.js.html +0 -1099
- package/coverage/src/phaser/core/tween_manager.js.html +0 -826
- package/coverage/src/phaser/core/world.js.html +0 -139
- package/coverage/src/phaser/display/bitmap_text.js.html +0 -1423
- package/coverage/src/phaser/display/button.js.html +0 -916
- package/coverage/src/phaser/display/canvas/buffer.js.html +0 -232
- package/coverage/src/phaser/display/canvas/graphics.js.html +0 -766
- package/coverage/src/phaser/display/canvas/index.html +0 -206
- package/coverage/src/phaser/display/canvas/masker.js.html +0 -184
- package/coverage/src/phaser/display/canvas/pool.js.html +0 -445
- package/coverage/src/phaser/display/canvas/renderer.js.html +0 -589
- package/coverage/src/phaser/display/canvas/tinter.js.html +0 -658
- package/coverage/src/phaser/display/canvas/util.js.html +0 -544
- package/coverage/src/phaser/display/display_object.js.html +0 -2494
- package/coverage/src/phaser/display/graphics.js.html +0 -2815
- package/coverage/src/phaser/display/graphics_data.js.html +0 -187
- package/coverage/src/phaser/display/graphics_data_util.js.html +0 -139
- package/coverage/src/phaser/display/group.js.html +0 -1000
- package/coverage/src/phaser/display/image.js.html +0 -1222
- package/coverage/src/phaser/display/index.html +0 -266
- package/coverage/src/phaser/display/sprite_batch.js.html +0 -121
- package/coverage/src/phaser/display/sprite_util.js.html +0 -883
- package/coverage/src/phaser/display/text.js.html +0 -4597
- package/coverage/src/phaser/display/webgl/abstract_filter.js.html +0 -157
- package/coverage/src/phaser/display/webgl/base_texture.js.html +0 -322
- package/coverage/src/phaser/display/webgl/blend_manager.js.html +0 -208
- package/coverage/src/phaser/display/webgl/earcut.js.html +0 -2137
- package/coverage/src/phaser/display/webgl/earcut_node.js.html +0 -160
- package/coverage/src/phaser/display/webgl/fast_sprite_batch.js.html +0 -877
- package/coverage/src/phaser/display/webgl/filter_manager.js.html +0 -271
- package/coverage/src/phaser/display/webgl/filter_texture.js.html +0 -298
- package/coverage/src/phaser/display/webgl/graphics.js.html +0 -1942
- package/coverage/src/phaser/display/webgl/graphics_data.js.html +0 -214
- package/coverage/src/phaser/display/webgl/index.html +0 -386
- package/coverage/src/phaser/display/webgl/mask_manager.js.html +0 -199
- package/coverage/src/phaser/display/webgl/render_texture.js.html +0 -406
- package/coverage/src/phaser/display/webgl/renderer.js.html +0 -1003
- package/coverage/src/phaser/display/webgl/shader/complex.js.html +0 -316
- package/coverage/src/phaser/display/webgl/shader/fast.js.html +0 -406
- package/coverage/src/phaser/display/webgl/shader/index.html +0 -176
- package/coverage/src/phaser/display/webgl/shader/normal.js.html +0 -826
- package/coverage/src/phaser/display/webgl/shader/primitive.js.html +0 -310
- package/coverage/src/phaser/display/webgl/shader/strip.js.html +0 -325
- package/coverage/src/phaser/display/webgl/shader_manager.js.html +0 -385
- package/coverage/src/phaser/display/webgl/sprite_batch.js.html +0 -1135
- package/coverage/src/phaser/display/webgl/stencil_manager.js.html +0 -655
- package/coverage/src/phaser/display/webgl/texture.js.html +0 -490
- package/coverage/src/phaser/display/webgl/texture_util.js.html +0 -169
- package/coverage/src/phaser/display/webgl/util.js.html +0 -451
- package/coverage/src/phaser/geom/circle.js.html +0 -1003
- package/coverage/src/phaser/geom/ellipse.js.html +0 -388
- package/coverage/src/phaser/geom/index.html +0 -221
- package/coverage/src/phaser/geom/line.js.html +0 -1102
- package/coverage/src/phaser/geom/matrix.js.html +0 -751
- package/coverage/src/phaser/geom/point.js.html +0 -1027
- package/coverage/src/phaser/geom/polygon.js.html +0 -604
- package/coverage/src/phaser/geom/rectangle.js.html +0 -1774
- package/coverage/src/phaser/geom/rounded_rectangle.js.html +0 -226
- package/coverage/src/phaser/geom/util/circle.js.html +0 -436
- package/coverage/src/phaser/geom/util/ellipse.js.html +0 -139
- package/coverage/src/phaser/geom/util/index.html +0 -221
- package/coverage/src/phaser/geom/util/line.js.html +0 -475
- package/coverage/src/phaser/geom/util/matrix.js.html +0 -223
- package/coverage/src/phaser/geom/util/point.js.html +0 -961
- package/coverage/src/phaser/geom/util/polygon.js.html +0 -124
- package/coverage/src/phaser/geom/util/rectangle.js.html +0 -784
- package/coverage/src/phaser/geom/util/rounded_rectangle.js.html +0 -136
- package/coverage/src/phaser/util/index.html +0 -116
- package/coverage/src/phaser/util/math.js.html +0 -958
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2018 Richard Davey, Photon Storm Ltd.
|
|
4
|
-
Copyright (c)
|
|
4
|
+
Copyright (c) 2025-present Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
7
7
|
this software and associated documentation files (the "Software"), to deal in
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vpmedia/phaser
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/js/@vpmedia%2Fphaser)
|
|
4
4
|
[](https://github.com/vpmedia/phaser/actions/workflows/ci.yml)
|
|
5
5
|
|
|
6
6
|
@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2.
|
package/SECURITY.md
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vpmedia/phaser",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.85.0",
|
|
4
4
|
"description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
|
|
5
5
|
"author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
"types": "./types/index.d.ts",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@types/node": "^24.
|
|
27
|
-
"@vpmedia/simplify": "^1.
|
|
26
|
+
"@types/node": "^24.7.2",
|
|
27
|
+
"@vpmedia/simplify": "^1.39.0",
|
|
28
28
|
"uuid": "^13.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@eslint/js": "^9.
|
|
31
|
+
"@eslint/js": "^9.37.0",
|
|
32
32
|
"@vitest/coverage-v8": "^3.2.4",
|
|
33
|
-
"eslint": "^9.
|
|
34
|
-
"eslint-plugin-jsdoc": "^
|
|
33
|
+
"eslint": "^9.37.0",
|
|
34
|
+
"eslint-plugin-jsdoc": "^61.1.4",
|
|
35
35
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
36
36
|
"globals": "^16.4.0",
|
|
37
37
|
"jsdom": "^27.0.0",
|
|
38
38
|
"prettier": "^3.6.2",
|
|
39
|
-
"typescript": "^5.9.
|
|
39
|
+
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^3.2.4"
|
|
41
41
|
},
|
|
42
42
|
"browserslist": [
|
|
@@ -46,9 +46,11 @@
|
|
|
46
46
|
"iOS >= 14"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
-
"
|
|
49
|
+
"build": "exit 0",
|
|
50
|
+
"check": "pnpm lint && pnpm test && pnpm typecheck",
|
|
51
|
+
"format": "prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json,md,css}\"",
|
|
50
52
|
"lint": "eslint \"**/*.{js,jsx}\"",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
+
"test": "vitest --coverage --pass-with-no-tests",
|
|
54
|
+
"typecheck": "tsc"
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -312,7 +312,9 @@ export class AnimationManager {
|
|
|
312
312
|
this.sprite.setFrame(this.currentFrame);
|
|
313
313
|
}
|
|
314
314
|
} else {
|
|
315
|
-
this.game.
|
|
315
|
+
this.game.logger.exception('AnimationManager', new Error(ENGINE_ERROR_CANNOT_SET_FRAME), {
|
|
316
|
+
tags: { 'asset.key': value },
|
|
317
|
+
});
|
|
316
318
|
}
|
|
317
319
|
}
|
|
318
320
|
|
|
@@ -338,7 +340,9 @@ export class AnimationManager {
|
|
|
338
340
|
this.sprite.setFrame(this.currentFrame);
|
|
339
341
|
}
|
|
340
342
|
} else {
|
|
341
|
-
this.game.
|
|
343
|
+
this.game.logger.exception('AnimationManager', new Error(ENGINE_ERROR_CANNOT_SET_FRAME_NAME), {
|
|
344
|
+
tags: { 'asset.key': value },
|
|
345
|
+
});
|
|
342
346
|
}
|
|
343
347
|
}
|
|
344
348
|
}
|
package/src/phaser/core/game.js
CHANGED
|
@@ -159,7 +159,8 @@ export class Game {
|
|
|
159
159
|
if (window.PhaserRegistry?.GL_SHADER_INFO_LOG) {
|
|
160
160
|
this.logger.warn('WebGL shader info', { log: window.PhaserRegistry.GL_SHADER_INFO_LOG });
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
163
|
+
this.logger.exception('Game', typedError);
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
166
|
if (!isWebGlReady) {
|
|
@@ -217,13 +218,6 @@ export class Game {
|
|
|
217
218
|
this.parseConfigElement(config, 'renderType', RENDER_AUTO);
|
|
218
219
|
this.parseConfigElement(config, 'isForceDisabledAudio', false);
|
|
219
220
|
this.parseConfigElement(config, 'maxParallelDownloads', 16);
|
|
220
|
-
if (config.exceptionHandler) {
|
|
221
|
-
this.exceptionHandler = config.exceptionHandler;
|
|
222
|
-
} else {
|
|
223
|
-
this.exceptionHandler = (e, tags) => {
|
|
224
|
-
this.logger.error(e, tags);
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
221
|
if (config.parent) {
|
|
228
222
|
this.parent = config.parent;
|
|
229
223
|
}
|
|
@@ -850,12 +850,13 @@ export class Loader {
|
|
|
850
850
|
}
|
|
851
851
|
return onload.call(scope, file, xhr);
|
|
852
852
|
} catch (error) {
|
|
853
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
853
854
|
// If this was the last file in the queue and an error is thrown in the create method
|
|
854
855
|
// then it's caught here, so be sure we don't carry on processing it
|
|
855
856
|
if (!scope.hasLoaded) {
|
|
856
857
|
scope.asyncComplete(file, error.message || 'Exception');
|
|
857
858
|
} else {
|
|
858
|
-
scope.game.
|
|
859
|
+
scope.game.logger.exception('Loader', typedError);
|
|
859
860
|
}
|
|
860
861
|
}
|
|
861
862
|
return null;
|
|
@@ -870,10 +871,11 @@ export class Loader {
|
|
|
870
871
|
try {
|
|
871
872
|
return onerror.call(scope, file, xhr);
|
|
872
873
|
} catch (error) {
|
|
874
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
873
875
|
if (!scope.hasLoaded) {
|
|
874
876
|
scope.asyncComplete(file, error.message || 'Exception');
|
|
875
877
|
} else {
|
|
876
|
-
scope.game.
|
|
878
|
+
scope.game.logger.exception('Loader', typedError);
|
|
877
879
|
}
|
|
878
880
|
}
|
|
879
881
|
}
|
|
@@ -60,7 +60,8 @@ export class SoundManager {
|
|
|
60
60
|
} catch (error) {
|
|
61
61
|
this.context = null;
|
|
62
62
|
setAudioDisabledState();
|
|
63
|
-
|
|
63
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
64
|
+
this.game.logger.exception('SoundManager', typedError);
|
|
64
65
|
}
|
|
65
66
|
} else if (window.webkitAudioContext) {
|
|
66
67
|
try {
|
|
@@ -70,11 +71,12 @@ export class SoundManager {
|
|
|
70
71
|
} catch (error) {
|
|
71
72
|
this.context = null;
|
|
72
73
|
setAudioDisabledState();
|
|
73
|
-
|
|
74
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
75
|
+
this.game.logger.exception('SoundManager', typedError);
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
if (!this.context) {
|
|
77
|
-
this.game.
|
|
79
|
+
this.game.logger.exception('SoundManager', new Error(ENGINE_ERROR_CREATING_AUDIO_CONTEXT));
|
|
78
80
|
setAudioDisabledState();
|
|
79
81
|
return;
|
|
80
82
|
}
|
|
@@ -196,7 +198,9 @@ export class SoundManager {
|
|
|
196
198
|
error,
|
|
197
199
|
});
|
|
198
200
|
this.removeUnlockHandlers();
|
|
199
|
-
this.game.
|
|
201
|
+
this.game.logger.exception('', error, {
|
|
202
|
+
tags: { 'audio.initialState': initialState, 'audio.state': this.context.state },
|
|
203
|
+
});
|
|
200
204
|
});
|
|
201
205
|
};
|
|
202
206
|
|
|
@@ -258,7 +262,7 @@ export class SoundManager {
|
|
|
258
262
|
})
|
|
259
263
|
.catch((error) => {
|
|
260
264
|
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
261
|
-
this.game.
|
|
265
|
+
this.game.logger.exception('SoundManager', typedError, { tags: { 'asset.key': key } });
|
|
262
266
|
if (typedError.name === 'InvalidStateError') {
|
|
263
267
|
addPageLifecycleCallback(PAGE_LIFECYCLE_STATE_ACTIVE, () => {
|
|
264
268
|
this.decode(key);
|
|
@@ -173,7 +173,8 @@ export const detectCapabilities = (game) => {
|
|
|
173
173
|
try {
|
|
174
174
|
window.PhaserRegistry.CAN_CANVAS_USE_MULTIPLY = canUseNewCanvasBlendModes();
|
|
175
175
|
} catch (error) {
|
|
176
|
-
|
|
176
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
177
|
+
game.logger.exception('Tinter', typedError);
|
|
177
178
|
window.PhaserRegistry.CAN_CANVAS_USE_MULTIPLY = false;
|
|
178
179
|
}
|
|
179
180
|
if (!window.PhaserRegistry.CAN_CANVAS_USE_MULTIPLY) {
|
|
@@ -181,7 +182,8 @@ export const detectCapabilities = (game) => {
|
|
|
181
182
|
try {
|
|
182
183
|
window.PhaserRegistry.CAN_CANVAS_HANDLE_ALPHA = checkInverseAlpha();
|
|
183
184
|
} catch (error) {
|
|
184
|
-
|
|
185
|
+
const typedError = error instanceof Error ? error : new Error(String(error));
|
|
186
|
+
game.logger.exception('Tinter', typedError);
|
|
185
187
|
window.PhaserRegistry.CAN_CANVAS_HANDLE_ALPHA = false;
|
|
186
188
|
}
|
|
187
189
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/animation_manager.js"],"names":[],"mappings":"AAGA;IACE;;;OAGG;IACH,oBAFW,OAAO,qBAAqB,EAAE,KAAK,EAiB7C;IAdC,4CAAoB;IACpB,+BAAuB;IACvB,yCAAyC;IACzC,cADW,OAAO,YAAY,EAAE,KAAK,CACb;IACxB,wBAAwB;IACxB,aADW,SAAS,CACG;IACvB,yBAA2B;IAC3B,kBAAqB;IACrB,kDAAkD;IAClD,YADW,OAAO,iBAAiB,EAAE,SAAS,CACxB;IACtB,yCAAyC;IACzC,QADW;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAC,CACrB;IAChB,uBAAuB;IACvB,eADW,MAAM,EAAE,CACI;IAGzB;;OAEG;IACH,gBAYC;IAED;;;;;OAKG;IACH,yBAJW,OAAO,iBAAiB,EAAE,SAAS,SACnC,MAAM,GAAC,MAAM,GACX,OAAO,CAwBnB;IA0OD;;OAEG;IACH,iBAZa,MAAM,
|
|
1
|
+
{"version":3,"file":"animation_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/animation_manager.js"],"names":[],"mappings":"AAGA;IACE;;;OAGG;IACH,oBAFW,OAAO,qBAAqB,EAAE,KAAK,EAiB7C;IAdC,4CAAoB;IACpB,+BAAuB;IACvB,yCAAyC;IACzC,cADW,OAAO,YAAY,EAAE,KAAK,CACb;IACxB,wBAAwB;IACxB,aADW,SAAS,CACG;IACvB,yBAA2B;IAC3B,kBAAqB;IACrB,kDAAkD;IAClD,YADW,OAAO,iBAAiB,EAAE,SAAS,CACxB;IACtB,yCAAyC;IACzC,QADW;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAC,CACrB;IAChB,uBAAuB;IACvB,eADW,MAAM,EAAE,CACI;IAGzB;;OAEG;IACH,gBAYC;IAED;;;;;OAKG;IACH,yBAJW,OAAO,iBAAiB,EAAE,SAAS,SACnC,MAAM,GAAC,MAAM,GACX,OAAO,CAwBnB;IA0OD;;OAEG;IACH,iBAZa,MAAM,EAuBlB;IAzBD;;;OAGG;IACH,aAFa,MAAM,CAOlB;IA6BD;;OAEG;IACH,qBAZa,MAAM,EAwBlB;IA1BD;;;OAGG;IACH,iBAFa,MAAM,CAOlB;IAjQD;;;;;OAKG;IACH,yBAJW,OAAO,iBAAiB,EAAE,SAAS,SACnC,MAAM,GAAC,MAAM,GACX,OAAO,CAqBnB;IAED;;;;;;;;OAQG;IACH,UAPW,MAAM,aACN,MAAM,EAAE,GAAC,MAAM,EAAE,cACjB,MAAM,SACN,OAAO,oBACP,OAAO,GACL,SAAS,CA4BrB;IAED;;;;;OAKG;IACH,uBAJW,MAAM,EAAE,GAAC,MAAM,EAAE,oBACjB,OAAO,GACL,OAAO,CAanB;IAED;;;;;;OAMG;IACH,WALW,MAAM,cACN,MAAM,SACN,OAAO,GACL,SAAS,CAoBrB;IAED;;;;OAIG;IACH,YAHW,MAAM,eACN,OAAO,QAMjB;IAED;;;OAGG;IACH,UAFa,OAAO,CAWnB;IAED;;;OAGG;IACH,eAFW,MAAM,QAOhB;IAED;;;OAGG;IACH,mBAFW,MAAM,QAOhB;IAED;;;;OAIG;IACH,mBAHW,MAAM,GACJ,SAAS,CAOrB;IAED;;OAEG;IACH,qBAIC;IAED;;;OAGG;IACH,iBAFa,OAAO,iBAAiB,EAAE,SAAS,CAI/C;IAED;;;OAGG;IACH,kBAFa,MAAM,CAIlB;IAUD;;OAEG;IACH,kBATa,OAAO,EAWnB;IAbD;;;OAGG;IACH,cAFa,OAAO,CAInB;IASD;;;OAGG;IACH,YAFa,MAAM,CAOlB;IA+CK,oBAA0C;CASjD;0BA3VyB,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/game.js"],"names":[],"mappings":"AAqBA;IACE;;;OAGG;IACH,yBAFW,MAAM,EAoDhB;IA9CC,WAAgB;IAChB,WAAW;IACX,eAAgB;IAChB,cAAgB;IAChB,eAAiB;IACjB,yCAAoB;IACpB,oBAAiB;IACjB,kBAAqB;IACrB,gBAAmB;IACnB,2BAAe;IACf,uBAAe;IACf,aAAiB;IACjB,aAAiB;IACjB,aAAgB;IAChB,oBAAiB;IACjB,oBAAiB;IACjB,aAAiB;IACjB,WAAgB;IAChB,qBAAkB;IAClB,aAAiB;IACjB,eAA0B;IAC1B,qBAAqB;IACrB,QADW,MAAM,CACC;IAClB,gCAAgC;IAChC,QADW,iBAAiB,CACV;IAClB,+BAA+B;IAC/B,SADW,gBAAgB,CACR;IACnB,gBAA2B;IAC3B,iBAA4B;IAC5B,eAA0B;IAC1B,kBAAqB;IAkBvB;;OAEG;IACH,aA+BC;IAED;;OAEG;IACH,6BAkBC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"game.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/game.js"],"names":[],"mappings":"AAqBA;IACE;;;OAGG;IACH,yBAFW,MAAM,EAoDhB;IA9CC,WAAgB;IAChB,WAAW;IACX,eAAgB;IAChB,cAAgB;IAChB,eAAiB;IACjB,yCAAoB;IACpB,oBAAiB;IACjB,kBAAqB;IACrB,gBAAmB;IACnB,2BAAe;IACf,uBAAe;IACf,aAAiB;IACjB,aAAiB;IACjB,aAAgB;IAChB,oBAAiB;IACjB,oBAAiB;IACjB,aAAiB;IACjB,WAAgB;IAChB,qBAAkB;IAClB,aAAiB;IACjB,eAA0B;IAC1B,qBAAqB;IACrB,QADW,MAAM,CACC;IAClB,gCAAgC;IAChC,QADW,iBAAiB,CACV;IAClB,+BAA+B;IAC/B,SADW,gBAAgB,CACR;IACnB,gBAA2B;IAC3B,iBAA4B;IAC5B,eAA0B;IAC1B,kBAAqB;IAkBvB;;OAEG;IACH,aA+BC;IAED;;OAEG;IACH,6BAkBC;IAED;;OAEG;IACH,qBA2CC;IAnCK,2BAoFK,iBAAiB,GAAG,KAAK,UApFsB;IACpD,+BA+FK,iBAAiB,GAAG,KAAK,UA/F8B;IAoClE;;;;;OAKG;IACH,2BAJW,MAAM,OACN,MAAM,gBACN,GAAC,QAQX;IAED;;;OAGG;IACH,oBAFW,MAAM,QA2BhB;IAED;;;OAGG;IACH,mBAFW,iBAAiB,GAAG,KAAK,QAQnC;IAED;;;OAGG;IACH,uBAFW,iBAAiB,GAAG,KAAK,QASnC;IAED;;;OAGG;IACH,aAFW,MAAM,QAoBhB;IAED;;OAEG;IACH,gBAwCC;CACF;+BAlU8B,+BAA+B;8BAEhC,8BAA8B;6BAU/B,oBAAoB;sCAFX,UAAU;kCAHd,cAAc;sBAJ1B,YAAY;sBAKZ,YAAY;uBACX,aAAa;6BAEP,oBAAoB;6BAGpB,oBAAoB;sBAC3B,YAAY;qBACb,WAAW;6BACH,oBAAoB;sBAC3B,YAAY;uBAbX,aAAa;uBANb,mBAAmB;uBAcnB,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/loader.js"],"names":[],"mappings":"AAOA;IACE;;;OAGG;IACH,kBAFW,OAAO,WAAW,EAAE,IAAI,EAmClC;IAhCC,+BAAgB;IAChB,kCAAuB;IACvB,mBAAsB;IACtB,kBAAqB;IACrB,oBAAsB;IACtB,iBAAiB;IACjB,mBAAsB;IACtB;;;;;;MAAyB;IACzB,qBAAwB;IACxB,gBAAiB;IACjB,aAAc;IACd;;;;MAIC;IACD,oBAA+B;IAC/B,uBAAkC;IAClC,uBAAkC;IAClC,oBAA+B;IAC/B,uBAAkC;IAClC,oBAA+B;IAC/B,0BAAuE;IACvE,4BAA4B;IAC5B,iBAAmB;IACnB,oBAAsB;IACtB,wBAAwB;IACxB,0BAA6B;IAC7B,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,yBAAyB;IAG3B;;;;OAIG;IACH,yBAHW,OAAO,qBAAqB,EAAE,KAAK,cACnC,MAAM,QAmBhB;IAED;;OAEG;IACH,eAIC;IAED;;;;;OAKG;IACH,qBAJW,MAAM,OACN,MAAM,GACJ,OAAO,CAInB;IAED;;;;;OAKG;IACH,oBAJW,MAAM,OACN,MAAM,GACJ,MAAM,CAgBlB;IAED;;;;;OAKG;IACH,eAJW,MAAM,OACN,MAAM,GACJ,MAAM,CAQlB;IAED;;;;OAIG;IACH,aAHW,OAAO,gBACP,OAAO,QAuBjB;IAED;;;;;;;;;OASG;IACH,oBARW,MAAM,QACN,MAAM,QACN,MAAM,eACN,MAAM,cACN,OAAO,cACP,MAAM,GACJ,MAAM,CA+ClB;IAED;;;;;;;OAOG;IACH,wBANW,MAAM,OACN,MAAM,OACN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6FC;IAED;;;OAGG;IACH,0BAFW,OAAO,QAmBjB;IAED;;;;OAIG;IACH,oBAHW,MAAM,iBACN,MAAM,QAWhB;IAED;;;OAGG;IACH,kBAFW,MAAM,QA2DhB;IAED;;;;;OAKG;IACH,kBAJW,MAAM,QACN,MAAM,GACJ,MAAM,CAUlB;IAED;;;OAGG;IACH,eAFW,MAAM,QAsChB;IAED;;;OAGG;IACH,mBAFW,MAAM,QA8BhB;IAED;;;;;;;OAOG;IACH,cANW,MAAM,OACN,MAAM,QACN,MAAM,
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/loader.js"],"names":[],"mappings":"AAOA;IACE;;;OAGG;IACH,kBAFW,OAAO,WAAW,EAAE,IAAI,EAmClC;IAhCC,+BAAgB;IAChB,kCAAuB;IACvB,mBAAsB;IACtB,kBAAqB;IACrB,oBAAsB;IACtB,iBAAiB;IACjB,mBAAsB;IACtB;;;;;;MAAyB;IACzB,qBAAwB;IACxB,gBAAiB;IACjB,aAAc;IACd;;;;MAIC;IACD,oBAA+B;IAC/B,uBAAkC;IAClC,uBAAkC;IAClC,oBAA+B;IAC/B,uBAAkC;IAClC,oBAA+B;IAC/B,0BAAuE;IACvE,4BAA4B;IAC5B,iBAAmB;IACnB,oBAAsB;IACtB,wBAAwB;IACxB,0BAA6B;IAC7B,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,yBAAyB;IAG3B;;;;OAIG;IACH,yBAHW,OAAO,qBAAqB,EAAE,KAAK,cACnC,MAAM,QAmBhB;IAED;;OAEG;IACH,eAIC;IAED;;;;;OAKG;IACH,qBAJW,MAAM,OACN,MAAM,GACJ,OAAO,CAInB;IAED;;;;;OAKG;IACH,oBAJW,MAAM,OACN,MAAM,GACJ,MAAM,CAgBlB;IAED;;;;;OAKG;IACH,eAJW,MAAM,OACN,MAAM,GACJ,MAAM,CAQlB;IAED;;;;OAIG;IACH,aAHW,OAAO,gBACP,OAAO,QAuBjB;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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"AAaA;IACE;;;OAGG;IACH,kBAFW,OAAO,WAAW,EAAE,IAAI,EAuBlC;IApBC,+BAAgB;IAChB,iBAA4B;IAC5B,2BAA2B;IAC3B,SADW,YAAY,CACJ;IACnB,oBAAoB;IACpB,iBAAoB;IACpB,aAA0B;IAC1B,yBAA2B;IAC3B,kBAAqB;IAErB,oBAAuB;IACvB,gBAAmB;IACnB,mBAAyB;IACzB,gBAAgB;IAChB,sBAAsB;IACtB,SADW,KAAK,EAAE,CACD;IACjB,qBAAgC;IAChC,mBAAsB;IACtB,yBAA0B;IAC1B,mBAAyB;IAG3B;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"AAaA;IACE;;;OAGG;IACH,kBAFW,OAAO,WAAW,EAAE,IAAI,EAuBlC;IApBC,+BAAgB;IAChB,iBAA4B;IAC5B,2BAA2B;IAC3B,SADW,YAAY,CACJ;IACnB,oBAAoB;IACpB,iBAAoB;IACpB,aAA0B;IAC1B,yBAA2B;IAC3B,kBAAqB;IAErB,oBAAuB;IACvB,gBAAmB;IACnB,mBAAyB;IACzB,gBAAgB;IAChB,sBAAsB;IACtB,SADW,KAAK,EAAE,CACD;IACjB,qBAAgC;IAChC,mBAAsB;IACtB,yBAA0B;IAC1B,mBAAyB;IAG3B;;OAEG;IACH,aAqDC;IAbG,gBAA+C;IAenD;;OAEG;IACH,kCAIE;IAEF;;OAEG;IACH,iCAME;IAEF;;OAEG;IACH,gCAUE;IAEF;;OAEG;IACH,8BASE;IAEF;;OAEG;IACH,iCASE;IAEF;;;OAGG;IACH,gBAAiB,OAFN,KAEW,UAsCpB;IAEF;;OAEG;IACH,gBASC;IAED;;OAEG;IACH,iBASC;IAED;;OAEG;IACH,kBASC;IAED;;;OAGG;IACH,YAFW,MAAM,QAuBhB;IAED;;;;;OAKG;IACH,0BAJW,KAAK,EAAE,GAAC,MAAM,EAAE,uCAEhB,MAAM,QA0BhB;IAED;;OAEG;IACH,eAqBC;IAED;;;;;;;OAOG;IACH,SANW,MAAM,WACN,MAAM,SACN,OAAO,YACP,OAAO,GACL,KAAK,CAMjB;IAED;;;;OAIG;IACH,eAHW,MAAM,GACJ,WAAW,CAIvB;IAED;;;;OAIG;IACH,cAHW,KAAK,GACH,OAAO,CAanB;IAED;;;;OAIG;IACH,iBAHW,MAAM,GACJ,MAAM,CAclB;IAED;;;;;;OAMG;IACH,UALW,MAAM,WACN,MAAM,SACN,OAAO,GACL,KAAK,CASjB;IAED;;OAEG;IACH,gBAUC;IAJG,iBAA6C;IAMjD;;OAEG;IACH,kBASC;IAED;;OAEG;IACH,gBAYC;IAUD;;OAEG;IACH,gBATa,OAAO,EAuBnB;IAzBD;;;OAGG;IACH,YAFa,OAAO,CAInB;IA6BD;;OAEG;IACH,kBATa,MAAM,EAqBlB;IAvBD;;;OAGG;IACH,cAFa,MAAM,CAIlB;CAkBF;uBAjfsB,aAAa;sBACd,YAAY;yBAJT,gBAAgB;4BAKb,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tinter.d.ts","sourceRoot":"","sources":["../../../../src/phaser/display/canvas/tinter.js"],"names":[],"mappings":"AAUO,yCAJI,MAAM,SACN,MAAM,GACJ,MAAM,CAMlB;AASM,0CALI,MAAM,SACN,MAAM,UACN,iBAAiB,QAoB3B;AASM,0CALI,MAAM,SACN,MAAM,UACN,iBAAiB,QAgC3B;AAOM,qCAHM,OAAO,CAsCnB;AAOM,6CAHM,OAAO,CAsCnB;AAMM,yCAFI,OAAO,oBAAoB,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"tinter.d.ts","sourceRoot":"","sources":["../../../../src/phaser/display/canvas/tinter.js"],"names":[],"mappings":"AAUO,yCAJI,MAAM,SACN,MAAM,GACJ,MAAM,CAMlB;AASM,0CALI,MAAM,SACN,MAAM,UACN,iBAAiB,QAoB3B;AASM,0CALI,MAAM,SACN,MAAM,UACN,iBAAiB,QAgC3B;AAOM,qCAHM,OAAO,CAsCnB;AAOM,6CAHM,OAAO,CAsCnB;AAMM,yCAFI,OAAO,oBAAoB,EAAE,IAAI,QA0B3C"}
|
package/coverage/base.css
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
margin:0; padding: 0;
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
body {
|
|
6
|
-
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color:#333;
|
|
9
|
-
}
|
|
10
|
-
.small { font-size: 12px; }
|
|
11
|
-
*, *:after, *:before {
|
|
12
|
-
-webkit-box-sizing:border-box;
|
|
13
|
-
-moz-box-sizing:border-box;
|
|
14
|
-
box-sizing:border-box;
|
|
15
|
-
}
|
|
16
|
-
h1 { font-size: 20px; margin: 0;}
|
|
17
|
-
h2 { font-size: 14px; }
|
|
18
|
-
pre {
|
|
19
|
-
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
-
margin: 0;
|
|
21
|
-
padding: 0;
|
|
22
|
-
-moz-tab-size: 2;
|
|
23
|
-
-o-tab-size: 2;
|
|
24
|
-
tab-size: 2;
|
|
25
|
-
}
|
|
26
|
-
a { color:#0074D9; text-decoration:none; }
|
|
27
|
-
a:hover { text-decoration:underline; }
|
|
28
|
-
.strong { font-weight: bold; }
|
|
29
|
-
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
-
.pad2y { padding: 20px 0; }
|
|
31
|
-
.pad1y { padding: 10px 0; }
|
|
32
|
-
.pad2x { padding: 0 20px; }
|
|
33
|
-
.pad2 { padding: 20px; }
|
|
34
|
-
.pad1 { padding: 10px; }
|
|
35
|
-
.space-left2 { padding-left:55px; }
|
|
36
|
-
.space-right2 { padding-right:20px; }
|
|
37
|
-
.center { text-align:center; }
|
|
38
|
-
.clearfix { display:block; }
|
|
39
|
-
.clearfix:after {
|
|
40
|
-
content:'';
|
|
41
|
-
display:block;
|
|
42
|
-
height:0;
|
|
43
|
-
clear:both;
|
|
44
|
-
visibility:hidden;
|
|
45
|
-
}
|
|
46
|
-
.fl { float: left; }
|
|
47
|
-
@media only screen and (max-width:640px) {
|
|
48
|
-
.col3 { width:100%; max-width:100%; }
|
|
49
|
-
.hide-mobile { display:none!important; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.quiet {
|
|
53
|
-
color: #7f7f7f;
|
|
54
|
-
color: rgba(0,0,0,0.5);
|
|
55
|
-
}
|
|
56
|
-
.quiet a { opacity: 0.7; }
|
|
57
|
-
|
|
58
|
-
.fraction {
|
|
59
|
-
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
color: #555;
|
|
62
|
-
background: #E8E8E8;
|
|
63
|
-
padding: 4px 5px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
-
table.coverage {
|
|
70
|
-
border-collapse: collapse;
|
|
71
|
-
margin: 10px 0 0 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table.coverage td {
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
vertical-align: top;
|
|
79
|
-
}
|
|
80
|
-
table.coverage td.line-count {
|
|
81
|
-
text-align: right;
|
|
82
|
-
padding: 0 5px 0 20px;
|
|
83
|
-
}
|
|
84
|
-
table.coverage td.line-coverage {
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
min-width:20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
table.coverage td span.cline-any {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
padding: 0 5px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
}
|
|
95
|
-
.missing-if-branch {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
margin-right: 5px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
position: relative;
|
|
100
|
-
padding: 0 4px;
|
|
101
|
-
background: #333;
|
|
102
|
-
color: yellow;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.skip-if-branch {
|
|
106
|
-
display: none;
|
|
107
|
-
margin-right: 10px;
|
|
108
|
-
position: relative;
|
|
109
|
-
padding: 0 4px;
|
|
110
|
-
background: #ccc;
|
|
111
|
-
color: white;
|
|
112
|
-
}
|
|
113
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
-
color: inherit !important;
|
|
115
|
-
}
|
|
116
|
-
.coverage-summary {
|
|
117
|
-
border-collapse: collapse;
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
-
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
-
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
-
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
-
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
-
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
-
.coverage-summary th {
|
|
127
|
-
text-align: left;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
-
.coverage-summary th.pct { }
|
|
133
|
-
.coverage-summary th.pic,
|
|
134
|
-
.coverage-summary th.abs,
|
|
135
|
-
.coverage-summary td.pct,
|
|
136
|
-
.coverage-summary td.abs { text-align: right; }
|
|
137
|
-
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
-
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
-
.coverage-summary tfoot td { }
|
|
140
|
-
|
|
141
|
-
.coverage-summary .sorter {
|
|
142
|
-
height: 10px;
|
|
143
|
-
width: 7px;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
margin-left: 0.5em;
|
|
146
|
-
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
-
}
|
|
148
|
-
.coverage-summary .sorted .sorter {
|
|
149
|
-
background-position: 0 -20px;
|
|
150
|
-
}
|
|
151
|
-
.coverage-summary .sorted-desc .sorter {
|
|
152
|
-
background-position: 0 -10px;
|
|
153
|
-
}
|
|
154
|
-
.status-line { height: 10px; }
|
|
155
|
-
/* yellow */
|
|
156
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
-
/* dark red */
|
|
158
|
-
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
-
.low .chart { border:1px solid #C21F39 }
|
|
160
|
-
.highlighted,
|
|
161
|
-
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
-
background: #C21F39 !important;
|
|
163
|
-
}
|
|
164
|
-
/* medium red */
|
|
165
|
-
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
-
/* light red */
|
|
167
|
-
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
-
/* light green */
|
|
169
|
-
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
-
/* medium green */
|
|
171
|
-
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
-
/* dark green */
|
|
173
|
-
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
-
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
-
/* dark yellow (gold) */
|
|
176
|
-
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
-
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
-
/* light yellow */
|
|
179
|
-
.medium { background: #fff4c2; }
|
|
180
|
-
|
|
181
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
-
|
|
185
|
-
span.cline-neutral { background: #eaeaea; }
|
|
186
|
-
|
|
187
|
-
.coverage-summary td.empty {
|
|
188
|
-
opacity: .5;
|
|
189
|
-
padding-top: 4px;
|
|
190
|
-
padding-bottom: 4px;
|
|
191
|
-
line-height: 1;
|
|
192
|
-
color: #888;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.cover-fill, .cover-empty {
|
|
196
|
-
display:inline-block;
|
|
197
|
-
height: 12px;
|
|
198
|
-
}
|
|
199
|
-
.chart {
|
|
200
|
-
line-height: 0;
|
|
201
|
-
}
|
|
202
|
-
.cover-empty {
|
|
203
|
-
background: white;
|
|
204
|
-
}
|
|
205
|
-
.cover-full {
|
|
206
|
-
border-right: none !important;
|
|
207
|
-
}
|
|
208
|
-
pre.prettyprint {
|
|
209
|
-
border: none !important;
|
|
210
|
-
padding: 0 !important;
|
|
211
|
-
margin: 0 !important;
|
|
212
|
-
}
|
|
213
|
-
.com { color: #999 !important; }
|
|
214
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
-
|
|
216
|
-
.wrapper {
|
|
217
|
-
min-height: 100%;
|
|
218
|
-
height: auto !important;
|
|
219
|
-
height: 100%;
|
|
220
|
-
margin: 0 auto -48px;
|
|
221
|
-
}
|
|
222
|
-
.footer, .push {
|
|
223
|
-
height: 48px;
|
|
224
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
var jumpToCode = (function init() {
|
|
3
|
-
// Classes of code we would like to highlight in the file view
|
|
4
|
-
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
|
|
5
|
-
|
|
6
|
-
// Elements to highlight in the file listing view
|
|
7
|
-
var fileListingElements = ['td.pct.low'];
|
|
8
|
-
|
|
9
|
-
// We don't want to select elements that are direct descendants of another match
|
|
10
|
-
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
11
|
-
|
|
12
|
-
// Selector that finds elements on the page to which we can jump
|
|
13
|
-
var selector =
|
|
14
|
-
fileListingElements.join(', ') +
|
|
15
|
-
', ' +
|
|
16
|
-
notSelector +
|
|
17
|
-
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
18
|
-
|
|
19
|
-
// The NodeList of matching elements
|
|
20
|
-
var missingCoverageElements = document.querySelectorAll(selector);
|
|
21
|
-
|
|
22
|
-
var currentIndex;
|
|
23
|
-
|
|
24
|
-
function toggleClass(index) {
|
|
25
|
-
missingCoverageElements
|
|
26
|
-
.item(currentIndex)
|
|
27
|
-
.classList.remove('highlighted');
|
|
28
|
-
missingCoverageElements.item(index).classList.add('highlighted');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function makeCurrent(index) {
|
|
32
|
-
toggleClass(index);
|
|
33
|
-
currentIndex = index;
|
|
34
|
-
missingCoverageElements.item(index).scrollIntoView({
|
|
35
|
-
behavior: 'smooth',
|
|
36
|
-
block: 'center',
|
|
37
|
-
inline: 'center'
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function goToPrevious() {
|
|
42
|
-
var nextIndex = 0;
|
|
43
|
-
if (typeof currentIndex !== 'number' || currentIndex === 0) {
|
|
44
|
-
nextIndex = missingCoverageElements.length - 1;
|
|
45
|
-
} else if (missingCoverageElements.length > 1) {
|
|
46
|
-
nextIndex = currentIndex - 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
makeCurrent(nextIndex);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function goToNext() {
|
|
53
|
-
var nextIndex = 0;
|
|
54
|
-
|
|
55
|
-
if (
|
|
56
|
-
typeof currentIndex === 'number' &&
|
|
57
|
-
currentIndex < missingCoverageElements.length - 1
|
|
58
|
-
) {
|
|
59
|
-
nextIndex = currentIndex + 1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
makeCurrent(nextIndex);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return function jump(event) {
|
|
66
|
-
if (
|
|
67
|
-
document.getElementById('fileSearch') === document.activeElement &&
|
|
68
|
-
document.activeElement != null
|
|
69
|
-
) {
|
|
70
|
-
// if we're currently focused on the search input, we don't want to navigate
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
switch (event.which) {
|
|
75
|
-
case 78: // n
|
|
76
|
-
case 74: // j
|
|
77
|
-
goToNext();
|
|
78
|
-
break;
|
|
79
|
-
case 66: // b
|
|
80
|
-
case 75: // k
|
|
81
|
-
case 80: // p
|
|
82
|
-
goToPrevious();
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
})();
|
|
87
|
-
window.addEventListener('keydown', jumpToCode);
|
package/coverage/favicon.png
DELETED
|
Binary file
|