mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 15:53:30 +00:00
Jump operations now jump backwards in a more logical way.
This commit is contained in:
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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user