String format 확장 제거

This commit is contained in:
Hide_D committed 2021-08-27 03:53:15 +09:00
1 parent 4f1f87bda0
commit def0a52578
9 files changed
+41 -44

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ declare const currentCrew: number;
//declare const currentGold: number;
declare const is모병 = false;
function calc(id: number) {
const $obj = $('#crewType{0}'.format(id));
const $obj = $(`#crewType${id}`);
const crew = parseInt(unwrap_any<string>($obj.find('.form_double').val()));
const baseCost = $obj.data('cost');
const $cost = $obj.find('.form_cost');