1
0
mirror of synced 2025-01-31 12:03:42 +01:00

Jump operations now jump backwards in a more logical way.

This commit is contained in:
n1474335 2017-03-04 10:57:14 +00:00
parent a459f542af
commit 14e9ea699a
6 changed files with 45 additions and 35 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -127,6 +127,10 @@ var FlowControl = {
jumpNum = ings[0], jumpNum = ings[0],
maxJumps = ings[1]; maxJumps = ings[1];
if (jumpNum < 0) {
jumpNum--;
}
if (state.numJumps >= maxJumps) { if (state.numJumps >= maxJumps) {
return state; return state;
} }
@ -154,6 +158,10 @@ var FlowControl = {
jumpNum = ings[1], jumpNum = ings[1],
maxJumps = ings[2]; maxJumps = ings[2];
if (jumpNum < 0) {
jumpNum--;
}
if (state.numJumps >= maxJumps) { if (state.numJumps >= maxJumps) {
return state; return state;
} }

View File

@ -1,21 +1,21 @@
214 source files 215 source files
115922 lines 117391 lines
4.3M size 4.4M size
144 JavaScript source files 145 JavaScript source files
106730 lines 108190 lines
3.8M size 3.8M size
83 third party JavaScript source files 84 third party JavaScript source files
86259 lines 87417 lines
3.0M size 3.1M size
61 first party JavaScript source files 61 first party JavaScript source files
20471 lines 20773 lines
764K size 776K size
3.5M uncompressed JavaScript size 3.5M uncompressed JavaScript size
1.9M compressed JavaScript size compressed JavaScript size
15 categories 15 categories
177 operations 177 operations