Skip to content

Commit b61bba0

Browse files
committed
rebuilding site Tue Aug 15 06:35:49 CDT 2017
1 parent 9b167a0 commit b61bba0

File tree

18 files changed

+327
-131
lines changed

18 files changed

+327
-131
lines changed

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="https://elixirscript.github.io/css/style.css">
99
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
1010

11-
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
11+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
1212

1313

1414
<section class="hero is-fullheight">
@@ -18,7 +18,7 @@ <h1 class="title notfound">404</h1>
1818
<h2 class="subtitle is-4">
1919
Page not found
2020
</h2>
21-
<a class="button" href="https://elixirscript.github.io">Home Page</a>
21+
<a class="button" href="https://elixirscript.github.io/">Home Page</a>
2222
</div>
2323
</div>
2424
</section>

css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

guide/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="https://elixirscript.github.io/css/style.css">
99
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
1010

11-
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
11+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
1212

1313
<section class="section">
1414
<div class="container">
@@ -46,9 +46,9 @@ <h1 class="title"><a href="https://elixirscript.github.io/guide/using-with-phoen
4646

4747
<div class="content">
4848
This guide will walk through setting up a Phoenix project with Elixirscript. This guide assumes you have already created a Phoenix project
49-
NOTE: This guide covers Phoenix 1.2. It will be updated when Phoenix 1.3 is released
49+
Update: 2017-08-15: This guide has been updated to cover both ElixirScript 0.30 and Phoenix 1.3
5050
Update your mix.exs file to add the current version of elixirscript to your dependencies:
51-
defp deps do [ #other deps {:elixir_script, &quot;~&gt; x.x.x&quot;} ] Run mix deps.get:
51+
defp deps do [ #other deps {:elixir_script, &quot;~&gt; x.x&quot;} ] Run mix deps.get:
5252
mix deps.get Next, Add the elixir_script compiler to your list of mix compilers. ...
5353
<a class="button is-link" href="https://elixirscript.github.io/guide/using-with-phoenix/" style="height:28px">
5454
Read more
@@ -96,13 +96,13 @@ <h1 class="title"><a href="https://elixirscript.github.io/guide/using-with-phoen
9696
<p></p>
9797
</div>
9898
</section>
99-
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous"></script>
99+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
100100

101-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/elixir.min.js"></script>
101+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/elixir.min.js"></script>
102102

103-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/javascript.min.js"></script>
103+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/javascript.min.js"></script>
104104

105-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/bash.min.js"></script>
105+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/bash.min.js"></script>
106106

107107
<script>hljs.initHighlightingOnLoad();</script>
108108

guide/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
<guid>https://elixirscript.github.io/guide/using-with-phoenix/</guid>
2020
<description>This guide will walk through setting up a Phoenix project with Elixirscript. This guide assumes you have already created a Phoenix project
21-
NOTE: This guide covers Phoenix 1.2. It will be updated when Phoenix 1.3 is released
21+
Update: 2017-08-15: This guide has been updated to cover both ElixirScript 0.30 and Phoenix 1.3
2222
Update your mix.exs file to add the current version of elixirscript to your dependencies:
23-
defp deps do [ #other deps {:elixir_script, &amp;quot;~&amp;gt; x.x.x&amp;quot;} ] Run mix deps.get:
23+
defp deps do [ #other deps {:elixir_script, &amp;quot;~&amp;gt; x.x&amp;quot;} ] Run mix deps.get:
2424
mix deps.get Next, Add the elixir_script compiler to your list of mix compilers.</description>
2525
</item>
2626

guide/page/1/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><title>https://elixirscript.github.io/guide/</title><link rel="canonical" href="https://elixirscript.github.io/guide/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=https://elixirscript.github.io/guide/" /></head></html>
1+
<!DOCTYPE html><html><head><title>https://elixirscript.github.io/guide/</title><link rel="canonical" href="https://elixirscript.github.io/guide/"/><meta name="robots" content="noindex"><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=https://elixirscript.github.io/guide/" /></head></html>

guide/using-with-phoenix/index.html

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="https://elixirscript.github.io/css/style.css">
99
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
1010

11-
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
11+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
1212

1313
<section class="section">
1414
<div class="container">
@@ -45,14 +45,14 @@ <h1 class="title">using with phoenix</h1>
4545
<div class="content">
4646
<p>This guide will walk through setting up a Phoenix project with Elixirscript. This guide assumes you have already created a Phoenix project</p>
4747

48-
<p><strong>NOTE</strong>: This guide covers Phoenix 1.2. It will be updated when Phoenix 1.3 is released</p>
48+
<p><strong>Update: 2017-08-15</strong>: This guide has been updated to cover both ElixirScript 0.30 and Phoenix 1.3</p>
4949

5050
<p>Update your mix.exs file to add the current version of elixirscript to your dependencies:</p>
5151

5252
<pre><code class="language-elixir"> defp deps do
5353
[
5454
#other deps
55-
{:elixir_script, &quot;~&gt; x.x.x&quot;}
55+
{:elixir_script, &quot;~&gt; x.x&quot;}
5656
]
5757
</code></pre>
5858

@@ -68,55 +68,49 @@ <h1 class="title">using with phoenix</h1>
6868
version: &quot;0.0.1&quot;,
6969
elixir: &quot;~&gt; 1.2&quot;,
7070
elixirc_paths: elixirc_paths(Mix.env),
71-
compilers: [:phoenix, :gettext, :elixir_script] ++ Mix.compilers,
71+
compilers: [:phoenix, :gettext] ++ Mix.compilers ++ [:elixir_script],
7272
build_embedded: Mix.env == :prod,
7373
start_permanent: Mix.env == :prod,
7474
deps: deps(),
7575
elixir_script: [
76-
input: &quot;web/static/elixirscript&quot;,
77-
output: &quot;web/static/js/build&quot;
76+
input: MyApp.App,
77+
output: &quot;assets/js/build&quot;
7878
]
7979
]
8080
end
8181
</code></pre>
8282

83-
<p>Elixirscript by default will looks for input in the <code>lib/elixirscript</code> directory. It will also by default output to <code>priv/elixirscript</code>. Update the input directory to <code>web/static/elixirscript</code>. Update the output directory to <code>web/static/js/build</code>. This lets it tie into Brunch&rsquo;s pipeline.</p>
83+
<p>Make the <code>input</code> the entry point module of your ElixirScript App. Here is will be <code>MyApp.App</code> which we will
84+
define later. Next, add the <code>output</code> to the configuration and make it <code>&quot;assets/js/build&quot;</code>. By default the output
85+
goes to <code>priv/elixir_script/build</code>, but we want to place our output somewhere that our asset compilation process can pick it up and bundle it with any other JavaScript.</p>
8486

85-
<p>Next, update the watcher configuration to use the Elixirscript watcher:</p>
87+
<p>Create <code>app.ex</code> in the <code>lib/my_app_frontend</code> directory</p>
8688

87-
<pre><code class="language-elixir"> watchers: [node: [&quot;node_modules/brunch/bin/brunch&quot;, &quot;watch&quot;, &quot;--stdin&quot;,
88-
cd: Path.expand(&quot;../&quot;, __DIR__)], mix: [&quot;elixirscript.watch&quot;]]
89-
</code></pre>
90-
91-
<p>Whenever your Elixirscript code changes, the elixirscript compiler will recompile it.</p>
92-
93-
<p>Create <code>app.ex</code> in the <code>web/static/elixirscript</code> directory</p>
94-
95-
<pre><code class="language-bash">touch web/static/elixirscript/app.ex
89+
<pre><code class="language-bash">touch lib/my_app_frontend/app.ex
9690
</code></pre>
9791

9892
<p>For this example, write a simple module that will write <code>Hello, world</code> to the console on start:</p>
9993

100-
<pre><code class="language-elixir">defmodule App do
94+
<pre><code class="language-elixir">defmodule MyApp.App do
10195

10296
def start(_type, _args) do
103-
:console.log(&quot;Hello, world&quot;)
97+
IO.puts(&quot;Hello, world&quot;)
10498
end
10599

106100
end
107101
</code></pre>
108102

109-
<p>Finally, update <code>web/static/js/app.js</code> to start your Elixirscript app:</p>
103+
<p>Finally, update <code>assets/js/app.js</code> to start your Elixirscript app:</p>
110104

111-
<pre><code class="language-javascript">import Elixir from './build/Elixir.App';
112-
Elixir.start(Elixir.App, [])
105+
<pre><code class="language-javascript">import Elixir from './build/elixirscript.build.js';
106+
Elixir.start(Elixir.MyApp.App, [])
113107
</code></pre>
114108

115109
<p>The empty array is list of initial arguments for your app.</p>
116110

117-
<p>If you run <code>mix compile</code>, you should see a JavaScript file, <code>Elixir.App.js</code> in your <code>web/static/js/build</code> directory.</p>
111+
<p>If you run <code>mix compile</code>, you should see a JavaScript file, <code>elixirscript.build.js</code> in your <code>assets/js/build</code> directory.</p>
118112

119-
<p>If you run <code>mix phoenix.server</code>, open your browser, and then open your console, you should see <code>Hello, world</code>. Any changes should cause a reload</p>
113+
<p>If you run <code>mix phx.server</code>, open your browser, and then open your console, you should see <code>Hello, world</code>. Any changes should cause a recompilation of your ElixirScript code and a reload of the browser</p>
120114

121115
</div>
122116
</div>
@@ -126,13 +120,13 @@ <h1 class="title">using with phoenix</h1>
126120
<p></p>
127121
</div>
128122
</section>
129-
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous"></script>
123+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
130124

131-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/elixir.min.js"></script>
125+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/elixir.min.js"></script>
132126

133-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/javascript.min.js"></script>
127+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/javascript.min.js"></script>
134128

135-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/bash.min.js"></script>
129+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/bash.min.js"></script>
136130

137131
<script>hljs.initHighlightingOnLoad();</script>
138132

index.html

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="https://elixirscript.github.io/css/style.css">
99
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
1010

11-
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/github.min.css">
11+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
1212

1313
<section class="section">
1414
<div class="container">
@@ -41,6 +41,21 @@ <h1 class="title is-4">Elixirscript</h1>
4141
<section class="section">
4242
<div class="container">
4343

44+
<article>
45+
<h2 class="subtitle is-6">August 15, 2017</h2>
46+
<h1 class="title"><a href="https://elixirscript.github.io/post/elixirscript-0.30.0-released/">ElixirScript 0.30.0 Released</a></h1>
47+
48+
<div class="content">
49+
ElixirScript 0.30 is a large release with lots of changes. It includes a rewrite of the compiler, a change in JavaScript interoperability and much more. This is also the first version to require Erlang 20 and Elixir 1.5, compiled with Erlang 20. ElixirScript can compile your Elixir code and dependencies into JavaScript, with some limitations. These changes make this the best release of ElixirScript so far! This is a great point to give ElixirScript a try for yourself. ...
50+
<a class="button is-link" href="https://elixirscript.github.io/post/elixirscript-0.30.0-released/" style="height:28px">
51+
Read more
52+
<span class="icon is-small">
53+
<i class="fa fa-angle-double-right"></i>
54+
</span>
55+
</a>
56+
</div>
57+
</article>
58+
4459
<article>
4560
<h2 class="subtitle is-6">July 10, 2017</h2>
4661
<h1 class="title"><a href="https://elixirscript.github.io/post/elixirscript-project-update/">elixirscript project update</a></h1>
@@ -146,13 +161,13 @@ <h1 class="title"><a href="https://elixirscript.github.io/post/elixirscript-0.25
146161
<p></p>
147162
</div>
148163
</section>
149-
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous"></script>
164+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
150165

151-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/elixir.min.js"></script>
166+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/elixir.min.js"></script>
152167

153-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/javascript.min.js"></script>
168+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/javascript.min.js"></script>
154169

155-
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/bash.min.js"></script>
170+
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/bash.min.js"></script>
156171

157172
<script>hljs.initHighlightingOnLoad();</script>
158173

index.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
<description>Recent content on Elixirscript</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
9-
<lastBuildDate>Mon, 10 Jul 2017 19:55:17 -0500</lastBuildDate>
9+
<lastBuildDate>Tue, 15 Aug 2017 00:29:03 -0500</lastBuildDate>
1010

1111
<atom:link href="https://elixirscript.github.io/index.xml" rel="self" type="application/rss+xml" />
1212

1313

14+
<item>
15+
<title>ElixirScript 0.30.0 Released</title>
16+
<link>https://elixirscript.github.io/post/elixirscript-0.30.0-released/</link>
17+
<pubDate>Tue, 15 Aug 2017 00:29:03 -0500</pubDate>
18+
19+
<guid>https://elixirscript.github.io/post/elixirscript-0.30.0-released/</guid>
20+
<description>ElixirScript 0.30 is a large release with lots of changes. It includes a rewrite of the compiler, a change in JavaScript interoperability and much more. This is also the first version to require Erlang 20 and Elixir 1.5, compiled with Erlang 20. ElixirScript can compile your Elixir code and dependencies into JavaScript, with some limitations. These changes make this the best release of ElixirScript so far! This is a great point to give ElixirScript a try for yourself.</description>
21+
</item>
22+
1423
<item>
1524
<title>elixirscript project update</title>
1625
<link>https://elixirscript.github.io/post/elixirscript-project-update/</link>
@@ -41,9 +50,9 @@ JS.alert(&amp;quot;hello&amp;quot;) JS.console.log(&amp;quot;hello&amp;quot;) JS
4150

4251
<guid>https://elixirscript.github.io/guide/using-with-phoenix/</guid>
4352
<description>This guide will walk through setting up a Phoenix project with Elixirscript. This guide assumes you have already created a Phoenix project
44-
NOTE: This guide covers Phoenix 1.2. It will be updated when Phoenix 1.3 is released
53+
Update: 2017-08-15: This guide has been updated to cover both ElixirScript 0.30 and Phoenix 1.3
4554
Update your mix.exs file to add the current version of elixirscript to your dependencies:
46-
defp deps do [ #other deps {:elixir_script, &amp;quot;~&amp;gt; x.x.x&amp;quot;} ] Run mix deps.get:
55+
defp deps do [ #other deps {:elixir_script, &amp;quot;~&amp;gt; x.x&amp;quot;} ] Run mix deps.get:
4756
mix deps.get Next, Add the elixir_script compiler to your list of mix compilers.</description>
4857
</item>
4958

page/1/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><title>https://elixirscript.github.io/</title><link rel="canonical" href="https://elixirscript.github.io/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=https://elixirscript.github.io/" /></head></html>
1+
<!DOCTYPE html><html><head><title>https://elixirscript.github.io/</title><link rel="canonical" href="https://elixirscript.github.io/"/><meta name="robots" content="noindex"><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0; url=https://elixirscript.github.io/" /></head></html>

0 commit comments

Comments
 (0)