Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
property: "scope",
title: "Scope",
description: "Scope of what to cite.",
inputMethod: "select",
options: {
sibling: "Sibling element",
parent: "Parent element"
},
icon: "code"
},
{
property: "license",
title: "License",
description: "The source url for the element this is citing.",
inputMethod: "select",
options: new licenseList("select"),
icon: "link"
},
{
property: "creator",
title: "Creator",
description: "Who made or owns this.",
inputMethod: "textfield",
icon: "link"
}
],
advanced: []
}
};
}
_licenseUpdated(newValue) {
if (typeof newValue !== typeof undefined) {
var list = new licenseList();
if (typeof list[newValue] !== typeof undefined) {
this.licenseName = list[newValue].name;
this.licenseLink = list[newValue].link;
this.licenseImage = list[newValue].image;
}
}
}
}