good 4 now
This commit is contained in:
@ -52,6 +52,8 @@ defmodule Mix.Tasks.Phosphoricons.Build do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp supported_line?(path),
|
defp supported_line?(path) do
|
||||||
do: String.starts_with?(path, "<path") || String.starts_with?(path, "<polyline")
|
["path", "polyline", "circle", "line", "polygon", "ellipse", "rect"]
|
||||||
|
|> Enum.any?(&String.starts_with?(path, "<#{&1}"))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
13702
lib/phosphoricons.ex
13702
lib/phosphoricons.ex
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user