diff options
author | 2009-03-10 10:44:26 -0400 | |
---|---|---|
committer | 2009-03-10 10:44:26 -0400 | |
commit | db7cd221444afce64803e66594d56dc8e7a0843c (patch) | |
tree | da2a0ab3f900743c5d1aaa01d30b665aa858f021 /src/monoize.sml | |
parent | aed3aa32e62846a16da55fc7be4cecba92ed5e2b (diff) |
Avoid any JavaScript when pages don't need it; update demo prose
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 892ae81f..57bf26e3 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -1924,9 +1924,7 @@ fun monoExp (env, st, fm) (all as (e, loc)) = in case tag of "body" => normal ("body", NONE, - SOME (L'.EStrcat ((L'.EPrim (Prim.String "<script src=\"/app.js\"></script>"), loc), - (L'.EFfiApp ("Basis", "get_script", [(L'.ERecord [], loc)]), - loc)), loc)) + SOME (L'.EFfiApp ("Basis", "get_script", [(L'.ERecord [], loc)]), loc)) | "dyn" => (case attrs of |