Serialize variable isCloud flag to xml.

This commit is contained in:
Karishma Chadha 2018-11-29 22:59:55 -05:00
parent 122443a75f
commit 5917ea571d

View file

@ -35,7 +35,8 @@ class Variable {
toXML (isLocal) {
isLocal = (isLocal === true);
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal}">${this.name}</variable>`;
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal
}" iscloud="${this.isCloud}">${this.name}</variable>`;
}
/**