34 function divine_format() {
35 const filename
= q('#prog').value
;
36 const ext
= /\.([^.]*)$/.exec(filename
)[1];
39 q('#prog_format').value
= ext_table
[ext
];
42 $(() => $('#prog').on('change', divine_format
));
This page took 0.02102 seconds and 4 git commands to generate.