diff options
author | 2009-01-11 10:22:19 -0500 | |
---|---|---|
committer | 2009-01-11 10:22:19 -0500 | |
commit | 0c5be5455c4f1e078831cb434bb9df215a410ad9 (patch) | |
tree | 4ed3d80acae013fb6366e52f37e5e0f2c55588cb /src/cjr_print.sml | |
parent | 40a04276005343f3dbc7d963a425e382a4e20701 (diff) |
Use header to set default script type
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r-- | src/cjr_print.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index 06f9f5ca..f8b1f23b 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -2054,6 +2054,8 @@ fun p_file env (ds, ps) = newline, string "uw_write_header(ctx, \"Content-type: text/html\\r\\n\");", newline, + string "uw_write_header(ctx, \"Content-script-type: text/javascript\\r\\n\");", + newline, string "uw_write(ctx, \"<html>\");", newline, box [string "{", |