[5.4.0] Update eslint target to 2017 and do initial fixes (#9135)

* eslint manual fixes
- update eslint to 2017
- add self to forbidden globals
- fix a few unfixable bugs caught by eslint
- convert newer features in twitter-archivist

* add eslint plugin to forbid features

* import changes from @saqimtiaz

* add package.json changes
This commit is contained in:
Arlen Beiler
2025-10-01 10:08:00 -04:00
committed by GitHub
parent 5389dc0fa7
commit f8170cd50a
7 changed files with 108 additions and 88 deletions

View File

@@ -181,7 +181,7 @@ ScrollableWidget.prototype.render = function(parent,nextSibling) {
};
ScrollableWidget.prototype.listenerFunction = function(event) {
self = this;
var self = this;
clearTimeout(this.timeout);
this.timeout = setTimeout(function() {
var existingTiddler = self.wiki.getTiddler(self.scrollableBind),