Skip to content

Commit 4d52e9c

Browse files
committed
JavaScript format fix.
1 parent 3292b02 commit 4d52e9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const SCRIPT_FORMAT supported_formats[] = {
3535

3636
#define header_hash "SIG # Begin signature block"
3737
#define footer_hash "SIG # End signature block"
38-
#define header_js "SIG // Begin signature block"
39-
#define footer_js "SIG // End signature block"
38+
#define header_js "Begin signature block"
39+
#define footer_js "End signature block"
4040

4141
typedef struct {
4242
const char *open, *close, *header, *footer;
@@ -46,7 +46,7 @@ const SCRIPT_COMMENT comment_text[] = {
4646
[comment_hash] = {"# ", "", header_hash, footer_hash},
4747
[comment_xml] = {"<!-- ", " -->", header_hash, footer_hash},
4848
[comment_c] = {"/* ", " */", header_hash, footer_hash},
49-
[comment_js] = {"// ", "", header_js, footer_js}
49+
[comment_js] = {"// SIG // ", "", header_js, footer_js}
5050
};
5151

5252
struct script_ctx_st {

0 commit comments

Comments
 (0)