Browse Source

index.html

Namdak Tonpa 6 years ago
parent
commit
4346b8e4ce
4 changed files with 15 additions and 16 deletions
  1. 1 1
      include/mad.hrl
  2. 13 14
      index.html
  3. BIN
      mad
  4. 1 1
      src/compile/mad_erl.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"f58d81").
+-define(VERSION,"0a277c").

+ 13 - 14
index.html

@@ -2,7 +2,7 @@
 <html >
 <html >
 <head>
 <head>
 
 
-  <link rel=stylesheet type="text/css" href="http://synrc.com/synrc.css">
+  <link rel=stylesheet type="text/css" href="https://synrc.com/synrc.css?v=1">
   <meta name="Author" content="5HT">
   <meta name="Author" content="5HT">
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <meta property="og:image" content="images/s_64.png"/>
   <meta property="og:image" content="images/s_64.png"/>
@@ -28,11 +28,10 @@
 
 
         var args = (window.location).toString().split('/');
         var args = (window.location).toString().split('/');
         var page_name = args[args.length-1];
         var page_name = args[args.length-1];
-        var menu = {'http://synrc.com/index.htm':    'Home',
-                    'http://synrc.com/research.htm': 'Showcase',
-                    'http://synrc.com/apps/':   'Apps',
-                    'http://synrc.com/feedback.htm': 'Contacts',
-                    'http://spawnproc.com':   '<b>Spawnproc</b>', };
+        var menu = {'https://synrc.com/index.htm':    'Home',
+                    'https://synrc.com/research.htm': 'Showcase',
+                    'https://synrc.com/apps/':   'Apps',
+                    'https://synrc.com/feedback.htm': 'Contacts', };
 
 
         Object.keys(menu).forEach(function (key) {
         Object.keys(menu).forEach(function (key) {
             if (page_name == key) { document.write('<div class="menu" style="font-weight: bold;">'+menu[key]+'</div>'); }
             if (page_name == key) { document.write('<div class="menu" style="font-weight: bold;">'+menu[key]+'</div>'); }
@@ -53,19 +52,19 @@
 <h2 id="sec1" class="section">TOC</h2><!--SEC END -->
 <h2 id="sec1" class="section">TOC</h2><!--SEC END -->
 <!--TOC paragraph id="sec2" -->
 <!--TOC paragraph id="sec2" -->
 <!--SEC END --><p>
 <!--SEC END --><p>
-<a href="http://synrc.com/apps/mad/doc/web">Overview</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web">Overview</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/web/setup.htm">1. Setup</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web/setup.htm">1. Setup</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/web/deps.htm">2. Deps</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web/deps.htm">2. Deps</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/web/config.htm">3. Configuration</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web/config.htm">3. Configuration</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/web/commands.htm">4. Commands</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web/commands.htm">4. Commands</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/web/bundles.htm">5. Bundles</a> <br>
+<a href="https://synrc.com/apps/mad/doc/web/bundles.htm">5. Bundles</a> <br>
 
 
-<a href="http://synrc.com/apps/mad/doc/book.pdf">Download PDF</a> <br>
+<a href="https://synrc.com/apps/mad/doc/book.pdf">Download PDF</a> <br>
 
 
 </p></div>
 </p></div>
 
 
@@ -185,7 +184,7 @@ I realized compiling applications as fast as possible with it could be a fascina
                       
                       
                       </script>
                       </script>
 
 
-<script type="text/javascript" src="http://synrc.com/hi.js"></script>
+<script type="text/javascript" src="https://synrc.com/hi.js"></script>
 <!--ENDHTML-->
 <!--ENDHTML-->
 </body>
 </body>
 </html>
 </html>

BIN
mad


+ 1 - 1
src/compile/mad_erl.erl

@@ -2,7 +2,7 @@
 -copyright('Sina Samavati').
 -copyright('Sina Samavati').
 -compile(export_all).
 -compile(export_all).
 -define(COMPILE_OPTS(Inc, Ebin, Opts, Deps),
 -define(COMPILE_OPTS(Inc, Ebin, Opts, Deps),
-    [return_errors, return_warnings, debug_info,
+    [return_errors, return_warnings, %debug_info,
     {i, [Inc]}, {outdir, Ebin}] ++ Opts ++ Deps).
     {i, [Inc]}, {outdir, Ebin}] ++ Opts ++ Deps).
 
 
 erl_to_beam(Bin, F) -> filename:join(Bin, filename:basename(F, ".erl") ++ ".beam").
 erl_to_beam(Bin, F) -> filename:join(Bin, filename:basename(F, ".erl") ++ ".beam").