浏览代码

demo: demorest

mattias 6 年之前
父节点
当前提交
0fb3188ca6
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      demo/fcldb/demorest.html
  2. 1 0
      demo/fcldb/demorest.lpi

+ 1 - 1
demo/fcldb/demorest.html

@@ -7,7 +7,7 @@
   </head>
   <body>
     <script type="application/javascript">
-     rtl.showUncaughtExceptions=true;
+     //rtl.showUncaughtExceptions=true;
      rtl.run();
     </script>
   </body>

+ 1 - 0
demo/fcldb/demorest.lpi

@@ -51,6 +51,7 @@
       <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
     </SearchPaths>
     <Other>
+      <CustomOptions Value="-Jc -Jirtl.js"/>
       <ExecuteBefore>
         <Command Value="$MakeExe(pas2js) -Tbrowser -Jirtl.js -Jc $Name($(ProjFile))"/>
         <ScanForFPCMsgs Value="True"/>