commadelimited/autoComplete.js — pull request #18 by spacenick (2012-06-03 14:57:56+00:00)
Title: Accept function as a source.

Function needs to call the callback, which is the first parameter.
source:function(callback) { mydata = [1,2]; callback(mydata); }