summaryrefslogtreecommitdiffstats
path: root/toolkit/components/microformats/test/lib/maps/rel.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/microformats/test/lib/maps/rel.js')
-rw-r--r--toolkit/components/microformats/test/lib/maps/rel.js47
1 files changed, 47 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/lib/maps/rel.js b/toolkit/components/microformats/test/lib/maps/rel.js
new file mode 100644
index 000000000..8accf8009
--- /dev/null
+++ b/toolkit/components/microformats/test/lib/maps/rel.js
@@ -0,0 +1,47 @@
+/*
+ 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.rels = {
+ // xfn
+ 'friend': [ 'yes','external'],
+ 'acquaintance': [ 'yes','external'],
+ 'contact': [ 'yes','external'],
+ 'met': [ 'yes','external'],
+ 'co-worker': [ 'yes','external'],
+ 'colleague': [ 'yes','external'],
+ 'co-resident': [ 'yes','external'],
+ 'neighbor': [ 'yes','external'],
+ 'child': [ 'yes','external'],
+ 'parent': [ 'yes','external'],
+ 'sibling': [ 'yes','external'],
+ 'spouse': [ 'yes','external'],
+ 'kin': [ 'yes','external'],
+ 'muse': [ 'yes','external'],
+ 'crush': [ 'yes','external'],
+ 'date': [ 'yes','external'],
+ 'sweetheart': [ 'yes','external'],
+ 'me': [ 'yes','external'],
+
+ // other rel=*
+ 'license': [ 'yes','yes'],
+ 'nofollow': [ 'no','external'],
+ 'tag': [ 'no','yes'],
+ 'self': [ 'no','external'],
+ 'bookmark': [ 'no','external'],
+ 'author': [ 'no','external'],
+ 'home': [ 'no','external'],
+ 'directory': [ 'no','external'],
+ 'enclosure': [ 'no','external'],
+ 'pronunciation': [ 'no','external'],
+ 'payment': [ 'no','external'],
+ 'principles': [ 'no','external']
+
+ };
+
+ return modules;
+
+} (Modules || {}));