loopj/jquery-tokeninput — pull request #436 by duncanbeevers (2012-12-06 22:23:39+00:00)
Title: Allow custom noResult markup

Currently `noResultText` allows you to specify static text when no results are available.

In order to show a dynamic no results message, like one including the query for which no results are available, a new `noResults` option is added.

If the setting's value is plain text, it behaves exactly like `noResultsText`.

If it's a function, it's called, bound to the plugin instance with the query as the first parameter, and the function's return value is used as the no results text.