- npm: Alphabetize scripts
- JSDoc: Exclude svgedit config files - JSDoc: Convert remaining items in old format to JSDoc (as could easily be found)
This commit is contained in:
@@ -45,15 +45,12 @@ svgEditor.addExtension('foreignObject', function (S) {
|
||||
newFO,
|
||||
editingforeign = false;
|
||||
|
||||
// Function: setForeignString(xmlString, elt)
|
||||
// This function sets the content of element elt to the input XML.
|
||||
//
|
||||
// Parameters:
|
||||
// xmlString - The XML text.
|
||||
// elt - the parent element to append to
|
||||
//
|
||||
// Returns:
|
||||
// This function returns false if the set was unsuccessful, true otherwise.
|
||||
/**
|
||||
* This function sets the content of element elt to the input XML.
|
||||
* @param {String} xmlString - The XML text.
|
||||
* @param elt - the parent element to append to
|
||||
* @returns {Boolean} This function returns false if the set was unsuccessful, true otherwise.
|
||||
*/
|
||||
function setForeignString (xmlString) {
|
||||
const elt = selElems[0];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user