Skip to content

Commit dca5304

Browse files
author
Jessica Shi
committed
add prefix flag handling
1 parent 1949753 commit dca5304

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

javascripts/demo.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1013,9 +1013,10 @@ function demo() {
10131013
command += ")";
10141014
}
10151015

1016-
// if (model.input.prefix) {
1017-
// command += " -prefix=\"" + model.input.prefix + "\"";
1018-
// }
1016+
var prefix = model.input.prefix.replaceAll(" ", "");
1017+
if (prefix) {
1018+
command += " -prefix=" + prefix;
1019+
}
10191020

10201021
var req = $.ajax({
10211022
type: "POST",

0 commit comments

Comments
 (0)