Skip to content

Commit

Permalink
Rename variable/s to make them more descriptive.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Dec 3, 2023
1 parent bb1d1a6 commit c6c83f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fc-solve/site/wml/src/ts/web-fc-solve--expand-moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export function fc_solve_expand_moves_filter_solution_text(
const board_pat = founds_pat + freecells_pat + "(?:^:[^\\n]*\\n)+";
const board2move_sep = "\n\n====================\n\n";
const move2board_sep = "\n";
const m2bout = "\n\n";
const move2board_sep4output = "\n\n";
let expanded_sol = initial_str;
let changes = 0;
do {
Expand Down Expand Up @@ -368,7 +368,7 @@ export function fc_solve_expand_moves_filter_solution_text(
throw "wrong KI.T ''" + m_elem.type + "''";
}
ret += m_elem.str;
ret += m2bout;
ret += move2board_sep4output;
const s_elem = arr[i + 1];
if (s_elem.type != "s") {
throw "wrong K[I+1].T ''" + s_elem.type + "''";
Expand All @@ -377,7 +377,7 @@ export function fc_solve_expand_moves_filter_solution_text(
ret += board2move_sep;
}
ret += arr[i].str;
ret += m2bout;
ret += move2board_sep4output;
return ret;
},
);
Expand Down

0 comments on commit c6c83f1

Please sign in to comment.