@woosh/meep-engine 2.37.17 → 2.37.18
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.
|
@@ -240,7 +240,7 @@ export class Signal {
|
|
|
240
240
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
241
241
|
for (i = 0; i < length; i++) {
|
|
242
242
|
//copy to proxy
|
|
243
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
243
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
// Dispatch phase
|
|
@@ -292,7 +292,7 @@ export class Signal {
|
|
|
292
292
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
293
293
|
for (i = 0; i < length; i++) {
|
|
294
294
|
//copy to proxy
|
|
295
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
295
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
// Dispatch phase
|
|
@@ -343,7 +343,7 @@ export class Signal {
|
|
|
343
343
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
344
344
|
for (i = 0; i < length; i++) {
|
|
345
345
|
//copy to proxy
|
|
346
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
346
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
// Dispatch phase
|
|
@@ -395,7 +395,7 @@ export class Signal {
|
|
|
395
395
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
396
396
|
for (i = 0; i < length; i++) {
|
|
397
397
|
//copy to proxy
|
|
398
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
398
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
// Dispatch phase
|
|
@@ -448,7 +448,7 @@ export class Signal {
|
|
|
448
448
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
449
449
|
for (i = 0; i < length; i++) {
|
|
450
450
|
//copy to proxy
|
|
451
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
451
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
// Dispatch phase
|
|
@@ -503,7 +503,7 @@ export class Signal {
|
|
|
503
503
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
504
504
|
for (i = 0; i < length; i++) {
|
|
505
505
|
//copy to proxy
|
|
506
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
506
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
// Dispatch phase
|
|
@@ -560,7 +560,7 @@ export class Signal {
|
|
|
560
560
|
// Copy handlers into a temp storage to preserve state during dispatch
|
|
561
561
|
for (i = 0; i < length; i++) {
|
|
562
562
|
//copy to proxy
|
|
563
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
563
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
// Dispatch phase
|
|
@@ -731,7 +731,7 @@ export function dispatchViaProxy(handlers, args) {
|
|
|
731
731
|
let i, h;
|
|
732
732
|
for (i = 0; i < length; i++) {
|
|
733
733
|
//copy to proxy
|
|
734
|
-
dispatch_stack[stack_pointer + i] = handlers[i];
|
|
734
|
+
dispatch_stack[stack_pointer + i] = handlers[length - (i + 1)];
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
for (i = stack_frame_end - 1; i >= stack_pointer; i--) {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"productName": "Meep",
|
|
6
6
|
"description": "production-ready JavaScript game engine based on Entity Component System Architecture",
|
|
7
7
|
"author": "Alexander Goldring",
|
|
8
|
-
"version": "2.37.
|
|
8
|
+
"version": "2.37.18",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"gl-matrix": "3.4.3",
|
|
11
11
|
"fast-levenshtein": "2.0.6",
|