mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Jump operations now jump backwards in a more logical way.
This commit is contained in:
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
|
@ -127,6 +127,10 @@ var FlowControl = {
|
|||
jumpNum = ings[0],
|
||||
maxJumps = ings[1];
|
||||
|
||||
if (jumpNum < 0) {
|
||||
jumpNum--;
|
||||
}
|
||||
|
||||
if (state.numJumps >= maxJumps) {
|
||||
return state;
|
||||
}
|
||||
|
@ -154,6 +158,10 @@ var FlowControl = {
|
|||
jumpNum = ings[1],
|
||||
maxJumps = ings[2];
|
||||
|
||||
if (jumpNum < 0) {
|
||||
jumpNum--;
|
||||
}
|
||||
|
||||
if (state.numJumps >= maxJumps) {
|
||||
return state;
|
||||
}
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
214 source files
|
||||
115922 lines
|
||||
4.3M size
|
||||
215 source files
|
||||
117391 lines
|
||||
4.4M size
|
||||
|
||||
144 JavaScript source files
|
||||
106730 lines
|
||||
145 JavaScript source files
|
||||
108190 lines
|
||||
3.8M size
|
||||
|
||||
83 third party JavaScript source files
|
||||
86259 lines
|
||||
3.0M size
|
||||
84 third party JavaScript source files
|
||||
87417 lines
|
||||
3.1M size
|
||||
|
||||
61 first party JavaScript source files
|
||||
20471 lines
|
||||
764K size
|
||||
20773 lines
|
||||
776K size
|
||||
|
||||
3.5M uncompressed JavaScript size
|
||||
1.9M compressed JavaScript size
|
||||
compressed JavaScript size
|
||||
|
||||
15 categories
|
||||
177 operations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue