Rename private attribute _element to _el
Change-Id: I9c7a31bd6844636737ffa6456562b997f5e370a3
diff --git a/dev/js/src/match/meta.js b/dev/js/src/match/meta.js
index 2df6a58..02dfa53 100644
--- a/dev/js/src/match/meta.js
+++ b/dev/js/src/match/meta.js
@@ -38,8 +38,8 @@
* Create match reference view.
*/
element : function () {
- if (this._element !== undefined)
- return this._element;
+ if (this._el !== undefined)
+ return this._el;
if (this._fields === null)
return;
@@ -47,7 +47,7 @@
const metaDL = document.createElement('dl');
metaDL.classList.add("flex");
- this._element = metaDL;
+ this._el = metaDL;
const fields = this._fields;
@@ -110,9 +110,9 @@
});
// Add corpusByMatch assistant
- this._corpusByMatch = cbmClass.create(this._element);
+ this._corpusByMatch = cbmClass.create(this._el);
- return this._element;
+ return this._el;
}
};
});