Skip to content

Commit

Permalink
Merge pull request #85 from liveview-native/bc-remove-commented-card
Browse files Browse the repository at this point in the history
Remove commented code
  • Loading branch information
supernintendo authored Dec 11, 2023
2 parents d7158b8 + 8e5991a commit 75a92f8
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions lib/live_view_native/templates.ex
Original file line number Diff line number Diff line change
Expand Up @@ -156,34 +156,6 @@ defmodule LiveViewNative.Templates do

{nil, new_acc}
end
# defp extract_all_class_names(nodes, acc \\ %{})

# defp extract_all_class_names([], acc), do: acc
# # defp extract_all_class_names(nodes, acc) when is_list(nodes) do

# # Enum.flat_map(doc, &extract_class_names/1)
# # end

# # defp extract_all_class_names(node, acc) when is_tuple(node) do
# # extract_class_names(node, acc)
# # end

# defp extract_class_names(doc) when is_binary(doc), do: []
# defp extract_class_names({_key, _, node} = other) do
# require IEx
# IEx.pry()
# case node do
# %{attributes: [_ | _] = attributes} ->
# attributes
# |> Enum.into(%{})
# |> Map.get("class", "")
# |> String.split(" ")
# |> Enum.filter(&(&1 != ""))

# _ ->
# []
# end
# end

defp module_has_stylesheet?(module) do
:functions
Expand Down

0 comments on commit 75a92f8

Please sign in to comment.