Skip to content

Commit

Permalink
Just typos
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Borsa <[email protected]>
  • Loading branch information
edborsa committed Dec 15, 2023
1 parent be5b137 commit 49b98e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/beacon/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Beacon.Application do
def start(_type, _args) do
# Starts just the minimum required apps for beacon to work.
# - Keep loading sites as children of main sup to have control of where and when to trigger it.
# - Loading repo allows to run seeds without trigering module and css recompilation.
# - Loading repo allows to run seeds without triggering module and css recompilation.
children = [
Beacon.Registry,
{Phoenix.PubSub, name: Beacon.PubSub},
Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/content.ex
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ defmodule Beacon.Content do
* `title` - String.t()
* `description` - String.t()
* `template` - String.t()
* `meta_tags` - list(map()) eg: `[%{"property" => "og:title", "content" => "My New Siste"}]`
* `meta_tags` - list(map()) eg: `[%{"property" => "og:title", "content" => "My New Site"}]`
See `Beacon.Content.Page` for more info.
Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/lifecycle/template.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule Beacon.Lifecycle.Template do

def validate_output!(lifecycle, _site, _type) do
raise Beacon.LoaderError, """
excpected output to be a %Phoenix.LiveView.Rendered{} struct
expected output to be a %Phoenix.LiveView.Rendered{} struct
Got:
Expand Down
2 changes: 1 addition & 1 deletion lib/beacon/template/heex/json_encoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule Beacon.Template.HEEx.JSONEncoder do
## Data Structure
The encoded data structured emitted at the end is a list of tokens componsed of either a `heex_node` or a `eex_node`,
The encoded data structured emitted at the end is a list of tokens composed of either a `heex_node` or a `eex_node`,
as specified below:
tokens = [heex_node() | eex_node() | eex_block_node()]
Expand Down

0 comments on commit 49b98e2

Please sign in to comment.