From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../microformats/test/lib/maps/h-entry.js | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 toolkit/components/microformats/test/lib/maps/h-entry.js (limited to 'toolkit/components/microformats/test/lib/maps/h-entry.js') diff --git a/toolkit/components/microformats/test/lib/maps/h-entry.js b/toolkit/components/microformats/test/lib/maps/h-entry.js new file mode 100644 index 000000000..b82c4c2d9 --- /dev/null +++ b/toolkit/components/microformats/test/lib/maps/h-entry.js @@ -0,0 +1,52 @@ +/* + Copyright (C) 2010 - 2015 Glenn Jones. All Rights Reserved. + MIT License: https://raw.github.com/glennjones/microformat-shiv/master/license.txt +*/ + +var Modules = (function (modules) { + + modules.maps = (modules.maps)? modules.maps : {}; + + modules.maps['h-entry'] = { + root: 'hentry', + name: 'h-entry', + properties: { + 'entry-title': { + 'map': 'p-name' + }, + 'entry-summary': { + 'map': 'p-summary' + }, + 'entry-content': { + 'map': 'e-content' + }, + 'published': { + 'map': 'dt-published' + }, + 'updated': { + 'map': 'dt-updated' + }, + 'author': { + 'uf': ['h-card'] + }, + 'category': { + 'map': 'p-category', + 'relAlt': ['tag'] + }, + 'geo': { + 'map': 'p-geo', + 'uf': ['h-geo'] + }, + 'latitude': {}, + 'longitude': {}, + 'url': { + 'map': 'u-url', + 'relAlt': ['bookmark'] + } + } + }; + + return modules; + +} (Modules || {})); + -- cgit v1.2.3