Browse Source

ref: removed variable

we now use a function and no longer need it
tags/microformats2-0.0.4
Christian Kruse 5 years ago
parent
commit
02f51fa4fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/items.ex

+ 1
- 1
lib/items.ex View File

@@ -114,7 +114,7 @@ defmodule Microformats2.Items do


defp get_value(class, p) do
val = cond do
cond do
Microformats2.is_a?(class, "p") and p[:properties][:name] != nil ->
List.first(p[:properties][:name])
Microformats2.is_a?(class, "u") and p[:properties][:url] != nil ->


Loading…
Cancel
Save