Sha256: 07145176c7a1437aff44d6fca4451eeca1b60544942c82ac53761791b94b2292
Contents?: true
Size: 495 Bytes
Versions: 7
Compression:
Stored size: 495 Bytes
Contents
module Microformats2 module ImpliedProperty class Photo < Foundation def method_name "photo" end protected def name_map { "img" => "src", "object" => "data" } end def selector_map { ">img[src]:only-of-type" => "src", ">object[data]:only-of-type" => "data", ">:only-child>img[src]:only-of-type" => "src", ">:only-child>object[data]:only-of-type" => "data" } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems