Skip to content
Snippets Groups Projects
Commit 75605c54 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

mesh data is stored in "_"prefixed params

parent 853db2c2
No related branches found
No related tags found
1 merge request!175Resolve "when removing comment add possibility to give a reason"
Pipeline #
......@@ -9,29 +9,28 @@ function Mesh(jsonObject) {
}
Mesh.prototype.setSynonyms = function (synonyms) {
this.synonyms = synonyms;
this._synonyms = synonyms;
};
Mesh.prototype.getSynonyms = function () {
return this.synonyms;
return this._synonyms;
};
Mesh.prototype.setName = function (name) {
this.name = name;
this._name = name;
};
Mesh.prototype.getName = function () {
return this.name;
return this._name;
};
Mesh.prototype.setId = function (id) {
this.id = id;
this._id = id;
};
Mesh.prototype.getId = function () {
return this.id;
return this._id;
};
Mesh.prototype.setDescription = function (description) {
this.description = description;
this._description = description;
};
Mesh.prototype.getDescription = function () {
return this.description;
return this._description;
};
module.exports = Mesh;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment