From 5ae3acf6ff4d68379d9ea73c6ec90b8dfa69c6ad Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 12 Jan 2021 22:47:07 -0500 Subject: Anki note data abstraction (#1228) * Create AnkiNoteData * Create AnkiNoteDataDefinitionProxyHandler * Update media injection * Create AnkiNoteDataDefinitionSecondaryProperties * Update note context format * Expose url and cloze on definition * Simplify for understandability * Remove unused _createNoteData * Update public object * Remove trims on sentence, since it should already be trimmed * Fix unused global --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index 94551803..0f854e76 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -96,6 +96,7 @@ "excludedFiles": [ "ext/mixed/js/core.js", "ext/bg/js/template-renderer.js", + "ext/bg/js/anki-note-data.js", "ext/mixed/js/dictionary-data-util.js" ], "globals": { -- cgit v1.2.3