diff options
Diffstat (limited to 'toolkit/components/microformats/test/lib/maps/h-review-aggregate.js')
-rw-r--r-- | toolkit/components/microformats/test/lib/maps/h-review-aggregate.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/lib/maps/h-review-aggregate.js b/toolkit/components/microformats/test/lib/maps/h-review-aggregate.js new file mode 100644 index 000000000..4b6027cbf --- /dev/null +++ b/toolkit/components/microformats/test/lib/maps/h-review-aggregate.js @@ -0,0 +1,40 @@ +/* + 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-review-aggregate'] = { + root: 'hreview-aggregate', + name: 'h-review-aggregate', + properties: { + 'summary': { + 'map': 'p-name' + }, + 'item': { + 'map': 'p-item', + 'uf': ['h-item', 'h-geo', 'h-adr', 'h-card', 'h-event', 'h-product'] + }, + 'rating': {}, + 'average': {}, + 'best': {}, + 'worst': {}, + 'count': {}, + 'votes': {}, + 'category': { + 'map': 'p-category', + 'relAlt': ['tag'] + }, + 'url': { + 'map': 'u-url', + 'relAlt': ['self', 'bookmark'] + } + } + }; + + return modules; + +} (Modules || {})); |