umask 022
java -jar closure-compiler-v20221004.jar \
- --language_in ECMASCRIPT_2015 \
+ --language_in ECMASCRIPT_2018 \
--compilation_level SIMPLE \
--js_output_file=www/js/remoteglot.min.js \
www/js/jquery-deprecated-sizzle.js \
var highlight_to = undefined;
/** The HTML object of the move currently being highlighted (in red).
- * @type {?jQuery}
+ * @type {?Element}
* @private */
var highlighted_move = null;
update_board();
return;
} else {
- current_display_line = jQuery.extend({}, display_lines[line_num]); // Shallow clone.
+ current_display_line = {...display_lines[line_num]}; // Shallow clone.
current_display_move = move_num + current_display_line.start_display_move_num;
}
current_display_line_is_history = (line_num == 0);