summaryrefslogtreecommitdiff
path: root/src/cjr_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-01-11 10:22:19 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-01-11 10:22:19 -0500
commit23a1c7d1de76762465f90635a5e31f58b46fe611 (patch)
tree4ed3d80acae013fb6366e52f37e5e0f2c55588cb /src/cjr_print.sml
parent6b14938a39f6a00cce63b693e879d1df433913b6 (diff)
Use header to set default script type
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r--src/cjr_print.sml2
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 "{",