-
-
Save kana/728841 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rd = g_preferences.prafbe_right_dict(); | |
var wd = g_preferences.prafbe_wrong_dict(); | |
var td = {}; | |
var ts = []; | |
for (var t in rd) { | |
if (!(td[t])) { | |
ts.push(t); | |
td[t] = true; | |
} | |
} | |
var xs = prafbe.list_most_interesting_tokens(rd, wd, ts, ts.length, true); | |
$(':input[name="custom_stylesheet"]').val($.toJSON(xs)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment