renamed treeCache into froca

This commit is contained in:
zadam
2021-04-16 22:57:37 +02:00
parent 4311834d75
commit af5b1021c7
63 changed files with 292 additions and 292 deletions

View File

@@ -29,8 +29,8 @@
<pre class="prettyprint source linenums"><code>import promotedAttributeDefinitionParser from '../services/promoted_attribute_definition_parser.js';
class Attribute {
constructor(treeCache, row) {
this.treeCache = treeCache;
constructor(froca, row) {
this.froca = froca;
this.update(row);
}
@@ -56,7 +56,7 @@ class Attribute {
/** @returns {NoteShort} */
getNote() {
return this.treeCache.notes[this.noteId];
return this.froca.notes[this.noteId];
}
get targetNoteId() { // alias
@@ -123,7 +123,7 @@ class Attribute {
get dto() {
const dto = Object.assign({}, this);
delete dto.treeCache;
delete dto.froca;
return dto;
}