-
Notifications
You must be signed in to change notification settings - Fork 94
Spell Checker Interface [WIP] #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
2582df3
70f0d63
c5ebb87
74ca4bd
810ce86
63eab87
b6abef3
5c242b2
4487627
2c0791e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,8 @@ var localizedLanguageCodes /*: {[string]: string} */ = {}, localizedLanguageName | |
|
|
||
| /* global config, getPairs, getGenerators, getAnalyzers, persistChoices, getURLParam, cache, ajaxSend, ajaxComplete, sendEvent, | ||
| srcLangs, dstLangs, generators, analyzers, readCache, modeEnabled, populateTranslationList, populateGeneratorList, | ||
| populateAnalyzerList, analyzerData, generatorData, curSrcLang, curDstLang, restoreChoices, refreshLangList, onlyUnique */ | ||
| populateAnalyzerList, analyzerData, generatorData, curSrcLang, curDstLang, restoreChoices, refreshLangList, onlyUnique | ||
|
||
| getSpellers */ | ||
|
|
||
| var dynamicLocalizations /*: {[lang: string]: {[string]: string}} */ = { | ||
| 'fallback': { | ||
|
|
@@ -52,7 +53,12 @@ $(document).ready(function () { | |
| iso639CodesInverse[language] = code; | ||
| }); | ||
|
|
||
| var possibleItems = {'translation': getPairs, 'generation': getGenerators, 'analyzation': getAnalyzers}; | ||
| var possibleItems = { | ||
| 'translation': getPairs, | ||
| 'generation': getGenerators, | ||
| 'analyzation': getAnalyzers, | ||
| 'spellchecker': getSpellers | ||
|
||
| }; | ||
| var deferredItems = [getLocale(), getLocales()]; | ||
| if(config.ENABLED_MODES) { | ||
| $.each(config.ENABLED_MODES, function () { | ||
|
|
@@ -427,3 +433,4 @@ function setLocale(newLocale /*: string */) { | |
| /*:: import {generatorData, generators, getGenerators, populateGeneratorList} from "./generator.js" */ | ||
| /*:: import {analyzerData, analyzers, getAnalyzers, populateAnalyzerList} from "./analyzer.js" */ | ||
| /*:: import {cache, persistChoices, readCache, restoreChoices} from "./persistence.js" */ | ||
| /*:: import {getSpellers} from "./spellchecker.js" */ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sushain97 this is weird, it looks fine in the actual file, but looks wrong here.