Lint
This commit is contained in:
@@ -291,6 +291,4 @@ class Architype {
|
||||
<!--# include file="Grid.js" -->
|
||||
<!--# include file="IdSource.js" -->
|
||||
|
||||
<!--# include file="utils.js" -->
|
||||
|
||||
new Architype(document.getElementById('architype'));
|
||||
|
||||
@@ -46,7 +46,7 @@ class EditorEntryBase extends ListenUtils {
|
||||
this.elem_.scrollIntoView({block: 'nearest'});
|
||||
}
|
||||
|
||||
onKeyDown(e) {
|
||||
onKeyDown() {
|
||||
}
|
||||
|
||||
afterDomAdd() {
|
||||
|
||||
@@ -19,7 +19,6 @@ class EditorNode extends EditorInputBase {
|
||||
|
||||
isSoft() {
|
||||
// Nested nodes are presumed to be references to other nodes if they exist
|
||||
let iter = this.elem_.parentElement;
|
||||
for (let iter = this.elem_.parentElement; iter; iter = iter.parentElement) {
|
||||
if (iter.xArchObj) {
|
||||
return true;
|
||||
|
||||
4
Grid.js
4
Grid.js
@@ -7,7 +7,7 @@ class Grid {
|
||||
addEventListener('resize', (e) => { this.onResize(e); });
|
||||
}
|
||||
|
||||
onResize(e) {
|
||||
onResize() {
|
||||
this.fixSizes();
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ class Grid {
|
||||
node.style.gridRow = pos[1] + 1;
|
||||
this.toSize_.push(node);
|
||||
|
||||
node.addEventListener('click', (e) => {
|
||||
node.addEventListener('click', () => {
|
||||
let editorElem = document.getElementById(id);
|
||||
editorElem.classList.toggle('highlight');
|
||||
editorElem.setAttribute('data-arch-refresh', '');
|
||||
|
||||
2
List.js
2
List.js
@@ -39,7 +39,7 @@ class List {
|
||||
return null;
|
||||
}
|
||||
|
||||
mayDelete(type) {
|
||||
mayDelete() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,4 +64,4 @@ class MinHeap {
|
||||
idx = toSwap;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user