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
4 changes: 2 additions & 2 deletions lib/mix/tasks/compile/phoenix_live_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ defmodule Mix.Tasks.Compile.PhoenixLiveView do
{:noop, diagnostics} ->
{:noop, diagnostics}

{status, dignostics} ->
{status, diagnostics} ->
compile()
{status, dignostics}
{status, diagnostics}
end)

:noop
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ defmodule Phoenix.Component do

* `false` or `nil` - if a value is `false` or `nil`, the attribute is omitted.
Note the `class` and `style` attributes will be rendered as empty strings,
instead of ommitted, which has the same effect as not rendering them, but
instead of omitted, which has the same effect as not rendering them, but
allows for rendering optimizations.

* `list` (only for the `class` attribute) - each element of the list is processed
Expand Down
4 changes: 2 additions & 2 deletions lib/phoenix_live_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ defmodule Phoenix.LiveView do
all state will be discarded.

Calling redirect shuts down the LiveView channel. If you need
to programatically open an external link without causing the
to programmatically open an external link without causing the
LiveView to shut down, for example because of `mailto:` or `tel:`
URL schemes, consider using `push_event/3` with a custom client-side
handler instead.
Expand Down Expand Up @@ -1229,7 +1229,7 @@ defmodule Phoenix.LiveView do
})
```

By computing the parameters with a function, reconnections will reevalute
By computing the parameters with a function, reconnections will reevaluate
the code, allowing you to fetch the latest data.

On the LiveView, you will use `get_connect_params/1` to read the data,
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/tag_engine/compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ defmodule Phoenix.LiveView.TagEngine.Compiler do
# This handles the case where the start expression is immediately followed
# by a middle expression, since we don't want to generate
# case @status do __EEX__(0); :connecting -> __EEX__(1) ...
# (we nened to skip adding the first placeholder)
# (we need to skip adding the first placeholder)
# and instead generate
# case @status do :connecting -> __EEX__(0); ...
{quoted, acc_expr <> newlines <> " " <> clause_expr, clause_line}
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/dom.ex
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ defmodule Phoenix.LiveViewTest.DOM do

# All inputs including buttons
# Remove the named inputs first to remove any possible
# duplicates if the child inputs also had a form attribite.
# duplicates if the child inputs also had a form attribute.
(form_inputs -- named_inputs) ++ named_inputs

_ ->
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/live_view_test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ defmodule Phoenix.LiveViewTest do
Performs a live redirect from one LiveView to another.

When redirecting between two LiveViews of the same `live_session`,
mounts the new LiveView and shutsdown the previous one, which
mounts the new LiveView and shuts down the previous one, which
mimics general browser live navigation behaviour.

When attempting to navigate from a LiveView of a different
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/upload.ex
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ defmodule Phoenix.LiveView.Upload do
@doc """
Updates the entry progress.

Progress is either an integer percently between 0 and 100, or a map
Progress is either an integer percentage between 0 and 100, or a map
with an `"error"` key containing the information for a failed upload
while in progress on the client.
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/upload_config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ defmodule Phoenix.LiveView.UploadConfig do
raise ArgumentError, """
invalid :external value provided to allow_upload.

Only an anymous function receiving the socket as an argument is supported. Got:
Only an anonymous function receiving the socket as an argument is supported. Got:

#{inspect(other)}
"""
Expand Down
Loading