Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var Elm = require('./App.elm');

var root = document.getElementById('root');

Elm.Main.embed(root, logoPath); // Pass image path as a flag.
Elm.App.embed(root, logoPath); // Pass image path as a flag.
```
Later on, you can use the image path in your view for displaying it in the DOM.

Expand Down
2 changes: 1 addition & 1 deletion template/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ var Elm = require('./App.elm')

var root = document.getElementById('root')

Elm.Main.embed(root, logoPath)
Elm.App.embed(root, logoPath)