From 8e5991a39177387aeb59cd1a9bab57ebfc84cbc0 Mon Sep 17 00:00:00 2001 From: Brian Cardarella Date: Mon, 11 Dec 2023 11:57:30 -0500 Subject: [PATCH] Remove commented code --- lib/live_view_native/templates.ex | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/lib/live_view_native/templates.ex b/lib/live_view_native/templates.ex index 8563f3dd..8a9e05a7 100644 --- a/lib/live_view_native/templates.ex +++ b/lib/live_view_native/templates.ex @@ -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