diff --git a/extension/data.ts b/extension/data.ts index 459a70783..886ff94bf 100644 --- a/extension/data.ts +++ b/extension/data.ts @@ -155,17 +155,6 @@ class RcxDict { return req.responseText; } - fileReadArray(name: string) { - const a = this.fileRead(name).split('\n'); - // Is this just in case there is blank shit in the file. It was written - // by Jon though. - // I suppose this is more robust - while (a.length > 0 && a[a.length - 1].length === 0) { - a.pop(); - } - return a; - } - loadNames() { if (this.nameDict && this.nameIndex) { return; @@ -950,39 +939,6 @@ class RcxDict { return b.join(''); } - makeHtmlForRuby(entry: DictEntryData | null) { - let e; - let s; - let t; - let i; - - if (entry === null) { - return ''; - } - - const b = []; - - s = t = ''; - - if (entry.title) { - b.push('
' + entry.title + '
'); - } - - for (i = 0; i < entry.data.length; ++i) { - e = entry.data[i].entry.match(/^(.+?)\s+(?:\[(.*?)\])?\s*\/(.+)\//); - if (!e) { - continue; - } - - s = e[3]; - t = s.replace(/\//g, '; '); - t = '' + t + '
\n'; - } - b.push(t); - - return b.join(''); - } - makeText(entry: DictEntryData | null, max: number): string { let e; let i;