contacts-pane 2.6.4-31163ac2 → 2.6.4-3ff0df2c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ export async function renderGroupMemberships (person, context) {
66
66
 
67
67
  // find all documents where person ns.vcard('fn')
68
68
  function syncGroupList () {
69
- // to be changed person and or webids
69
+ // person and/or WebIDs to be changed
70
70
  // const groups = kb.each(null, ns.vcard('hasMember'), person)
71
71
  const groups = kb.each(person, ns.vcard('fn'), undefined) // non il faut acceder a la liste des group.doc()
72
72
  utils.syncTableToArray(groupList, groups, newRowForGroup)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contacts-pane",
3
- "version": "2.6.4-31163ac2",
3
+ "version": "2.6.4-3ff0df2c",
4
4
  "description": "Contacts Pane: Contacts manager for Address Book, Groups, and Individuals.",
5
5
  "main": "./contactsPane.js",
6
6
  "scripts": {
package/webidControl.js CHANGED
@@ -51,14 +51,14 @@ export async function addWebIDToContacts (person, webid, urlType, kb) {
51
51
  $rdf.st(vcardURLThing, ns.rdf('type'), urlType, person.doc()),
52
52
  $rdf.st(vcardURLThing, ns.vcard('value'), webid, person.doc())
53
53
  ]
54
- // insert webID in groups
55
- // replace person with webId in vcard:hasMember (webId may already exist)
54
+ // insert WebID in groups
55
+ // replace person with WebID in vcard:hasMember (WebID may already exist)
56
56
  // insert owl:sameAs
57
57
  const groups = kb.each(null, ns.vcard('hasMember'), person)
58
58
  const deletables = []
59
59
  groups.forEach(group => {
60
60
  deletables.push($rdf.st(group, ns.vcard('hasMember'), person, group.doc()))
61
- insertables.push($rdf.st(group, ns.vcard('hasMember'), kb.sym(webid), group.doc())) // may exist do we need to check ?
61
+ insertables.push($rdf.st(group, ns.vcard('hasMember'), kb.sym(webid), group.doc())) // May exist; do we need to check?
62
62
  insertables.push($rdf.st(person, ns.owl('sameAs'), kb.sym(webid), group.doc()))
63
63
  })
64
64
  try {