summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
7946ec4)
These properties do not take literal values in Awol; they should
instead be given an `rdf:resource`.
default: {
// The property describes (potentially rich) text.
if (value == null) {
default: {
// The property describes (potentially rich) text.
if (value == null) {
- // The property has no value; skip appending it to the node.
+ // The property has no value; skip appending it to the
+ // node.
continue;
} else if (Object(value) instanceof String) {
// The property has a string value.
continue;
} else if (Object(value) instanceof String) {
// The property has a string value.
icon: Object.freeze({
namespace: AWOL,
localName: "icon",
icon: Object.freeze({
namespace: AWOL,
localName: "icon",
}),
// link is provided by the build script
logo: Object.freeze({
namespace: AWOL,
localName: "logo",
}),
// link is provided by the build script
logo: Object.freeze({
namespace: AWOL,
localName: "logo",
}),
published: Object.freeze({
namespace: DC11,
}),
published: Object.freeze({
namespace: DC11,
const { [name]: existing } = result;
const content = (() => {
switch (type) {
const { [name]: existing } = result;
const content = (() => {
switch (type) {
+ case "node": {
+ // The node points to another node.
+ return node.getAttributeNS(RDF, "resource");
+ }
case "person": {
// The node describes a person.
const base =
case "person": {
// The node describes a person.
const base =