ElixirScript - converts Elixir to JavaScript

@bryanjos: How I should start app?
My code:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <script src="Elixir.App.js"></script>
    <style>
      h1 { text-align: center; }
    </style>
    <title>Example</title>
  </head>
  <body>
    <h1>
      Example
    </h1>
    <script>
      Elixir.start(Elixir.Example, []); // like that?
    </script>
  </body>
</html>
1 Like