Skip to content

Commit 070b7e3

Browse files
authored
Merge pull request #451 from harlantwood/patch-2
Fix sample code indentation
2 parents 964c11b + 770c834 commit 070b7e3

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

lib/elixir_script.ex

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ defmodule ElixirScript do
1717
1818
``` elixir
1919
def project do
20-
[
21-
app: :my_app,
22-
version: "0.1.0",
23-
elixir: "~> 1.0",
24-
deps: deps,
25-
# Add elixir_script as a compilter
26-
compilers: Mix.compilers ++ [:elixir_script],
27-
# Our elixir_script configuration
28-
elixir_script: [
29-
# Entry module. Can also be a list of modules
30-
input: MyEntryModule,
31-
# Output path. Either a path to a js file or a directory
32-
output: "priv/elixir_script/build"
33-
]
34-
]
20+
[
21+
app: :my_app,
22+
version: "0.1.0",
23+
elixir: "~> 1.0",
24+
deps: deps,
25+
# Add elixir_script as a compilter
26+
compilers: Mix.compilers() ++ [:elixir_script],
27+
# Our elixir_script configuration
28+
elixir_script: [
29+
# Entry module. Can also be a list of modules
30+
input: MyEntryModule,
31+
# Output path. Either a path to a js file or a directory
32+
output: "priv/elixir_script/build"
33+
]
34+
]
3535
end
3636
```
3737

0 commit comments

Comments
 (0)