nathanjsweet/nodehun — pull request #8 by kibergus (2014-06-22 11:55:59+00:00)
Title: Throw exception if no callback supplied

If no callback (or nor a function) is passed to spellSuggest, spellSuggestions or stem method, then call is silently ignored. Such calls do not make much sense. I expect them to happen when something went wrong, for example callback name was missspelled. So i suggest to throw exception if second argument is not callable.