Skip to content

Commit 3e42ff2

Browse files
committed
Update to 0.30 of elixirscript and to published version of elixirscript react
1 parent 7085462 commit 3e42ff2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/todo_frontend/main.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Todo.Main do
2-
use ReactUI
2+
use React.HTML
33

44
@moduledoc """
55
The entry point to the Todo app's ElixirScript frontend
@@ -36,7 +36,7 @@ defmodule Todo.Main do
3636
end
3737

3838
def view(todos) do
39-
ReactUI.div do
39+
React.HTML.div do
4040
section id: "todoapp" do
4141
header id: "header" do
4242
h1 do
@@ -59,7 +59,7 @@ defmodule Todo.Main do
5959
end
6060

6161
li key: todo.id, className: the_completed do
62-
ReactUI.div className: "view" do
62+
React.HTML.div className: "view" do
6363
input [
6464
className: "toggle",
6565
type: "checkbox",

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ defmodule Todo.Mixfile do
3939
{:phoenix_live_reload, "~> 1.0", only: :dev},
4040
{:gettext, "~> 0.11"},
4141
{:cowboy, "~> 1.0"},
42-
{:elixir_script, git: "[email protected]:elixirscript/elixirscript.git"},
42+
{:elixir_script, "~> 0.30"},
4343
{:fs, "~> 2.12", override: true},
44-
{:elixir_script_react, github: "elixirscript/elixirscript_react"}
44+
{:elixir_script_react, "~> 1.0.1-react"}
4545
]
4646
end
4747
end

mix.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{"cowboy": {:hex, :cowboy, "1.1.2", "61ac29ea970389a88eca5a65601460162d370a70018afe6f949a29dca91f3bb0", [:rebar3], [{:cowlib, "~> 1.0.2", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "~> 1.3.2", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm"},
22
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], [], "hexpm"},
3-
"elixir_script": {:git, "[email protected]:elixirscript/elixirscript.git", "c806cde6f1a39626ab7792f89b010d969b1373d1", []},
4-
"elixir_script_react": {:git, "https://github.com/elixirscript/elixirscript_react.git", "76ed6ef7d5e7e26f3a3ebfdd869da552c38bd926", []},
3+
"elixir_script": {:hex, :elixir_script, "0.30.0", "c67b2d9b6cdfa432717f4bffa3f31f476ff5c5bf15cef59142c6a85e7089d530", [:mix], [{:estree, "~> 2.6", [hex: :estree, repo: "hexpm", optional: false]}], "hexpm"},
4+
"elixir_script_react": {:hex, :elixir_script_react, "1.0.1-react.15.6.1", "dc6f46a809100cb2c941e7b189b6626a1ec53889937dec53ff3006622d0bcc3e", [:mix], [{:elixir_script, "~> 0.30", [hex: :elixir_script, repo: "hexpm", optional: false]}], "hexpm"},
55
"estree": {:hex, :estree, "2.6.1", "0a17cc0e9e35315dc4fcd79d30a746b1f3e9ed654be6084ce882ab491165ae22", [:mix], [], "hexpm"},
66
"fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], [], "hexpm"},
77
"gettext": {:hex, :gettext, "0.13.1", "5e0daf4e7636d771c4c71ad5f3f53ba09a9ae5c250e1ab9c42ba9edccc476263", [:mix], [], "hexpm"},

0 commit comments

Comments
 (0)