Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[cleanup] resource_private: ws

  • Loading branch information...
commit a982169fa0d0291f7583c4942d50a0d0430f4d78 1 parent 0c2b64a
@Aqua-Ye Aqua-Ye authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 stdlib/core/web/resource/resource_private.opa
View
6 stdlib/core/web/resource/resource_private.opa
@@ -905,10 +905,10 @@ export_resource(external_css_files: list(string),
"This page is exported from a context that doesn't have a valid client thread context. Replacing by random value {result}")
result
page_lang = ServerI18n.page_lang() // TODO by customizer
- page_info = "var page_server = {num_page};var page_lang = \"{page_lang}\";"
- js_base_url = Option.switch(base -> "var base_url = \"{base}\";", "", base_url)
+ page_info = "var page_server = {num_page}; var page_lang = \"{page_lang}\";"
+ js_base_url = Option.switch(base -> " var base_url = \"{base}\";", "", base_url)
- global_variable = {content_unsafe="<script type=\"text/javascript\">{page_info} {js_base_url}</script>"} : xhtml
+ global_variable = {content_unsafe="<script type=\"text/javascript\">{page_info}{js_base_url}</script>"} : xhtml
{body = ready_body
head = head_without_id
mime_type= mime_type} = cache_for_xhtml(
Please sign in to comment.
Something went wrong with that request. Please try again.