webpack, eslint

javascript didn't have proper modules until es6 what the fuck

bingo's code scares me so i hope i didn't break it when fixing
the linting errors
This commit is contained in:
louis 2019-05-12 20:20:48 -04:00
parent e3b7233b20
commit 1d469d4f3e
15 changed files with 9790 additions and 1185 deletions

View file

@ -84,7 +84,6 @@ class TextFunctions {
function putText() {
// skip over any HTML chars
this.dialogToDisplay.curPos = this.typeHtmlChars(this.dialogToDisplay.text, this.dialogToDisplay.curPos);
let substr = this.dialogToDisplay.text.substr(this.dialogToDisplay.curPos);
if (this.dialogToDisplay.curPos === this.dialogToDisplay.text.length) {
this.showNextIndicator(true);
this.scrollingText = false;
@ -191,4 +190,6 @@ class TextFunctions {
this.scrollingText = false;
this.lineHeight = -1;
}
}
}
export { TextFunctions };