Wanikani Open Framework [developer thread]

Just to be clear, you want me to add the set_state call in my Show Number of Learned Kanji script?
Or were you talking about my planned WK kanji search userscript using item filters?

If so, you probably want me to call wkof.set_state('yourScriptId', 'ready') after i’ve used wkof.ItemData.get_items(config)? Because i’m not using items.filter, the function using that is unused. Or where am I registering filters in myscript?

Here’s the relevant (?) excerpt of my script:


	function getItems(items) {
        return wkof.ItemData.get_items(config);
		//return wkof.ItemData.get_items(config).then(filterToActiveAssignments);
1 Like