autocomplete-plugin-debug.js revision c1fa7383daa25ffc775ef46e12aedd49d03d3ed7
YUI.add('autocomplete-plugin', function(Y) {
/**
* Binds an AutoCompleteList instance to a Node instance.
*
* @module autocomplete
* @submodule autocomplete-list-plugin
* @class Plugin.AutoCompleteList
* @extends AutoCompleteList
*/
var Plugin = Y.namespace('Plugin');
function ACListPlugin(config) {
config = Y.mix({}, config, true); // fast shallow clone
config.inputNode = config.host;
AutoCompletePlugin.superclass.constructor.apply(this, arguments);
}
Y.extend(ACListPlugin, Y.AutoCompleteList, {}, {
NAME: 'autocompleteListPlugin',
NS : 'aclist'
});
Plugin.AutoComplete = ACListPlugin;
Plugin.AutoCompleteList = ACListPlugin;
}, '@VERSION@' ,{requires:['autocomplete-base', 'node-pluginhost']});