diff --git a/Kernel/WebUI.wl b/Kernel/WebUI.wl index 35ffedf..8e71dc5 100644 --- a/Kernel/WebUI.wl +++ b/Kernel/WebUI.wl @@ -16,7 +16,6 @@ WebUIContainer::usage = "" WebUIContainerChild::usage = "" - WebUIJSBind::usage = "" WebUIOnLoad::usage = "" @@ -27,13 +26,11 @@ WebUIKeyListener::usage = "" WebUIFetch::usage = "" +UILazyLoad; -Begin["`Private`"] - -$DefaultSerializer = ExportByteArray[#, "ExpressionJSON"]& -ImportComponent[FileNameJoin[{$InputFileName // DirectoryName, "WebUI.wlx"}], "Localize"->False]; - -End["`Private`"] +Block[{$DefaultSerializer = ExportByteArray[#, "ExpressionJSON"]&}, + ImportComponent[FileNameJoin[{$InputFileName // DirectoryName, "WebUI.wlx"}], "Localize"->False]; +]; -EndPackage[]; \ No newline at end of file +EndPackage[];