Browse Source

demo: demorest

mattias 6 years ago
parent
commit
0fb3188ca6
2 changed files with 2 additions and 1 deletions
  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"/>