r3512 committed - Update autocomplete for new widget factory.
Revision: 3512
Author: scott.gonzalez
Date: Tue Dec 22 19:46:47 2009
Log: Update autocomplete for new widget factory.
http://code.google.com/p/jquery-ui/source/detail?r=3512
Modified:
/branches/dev/ui/jquery.ui.autocomplete.js
=======================================
--- /branches/dev/ui/jquery.ui.autocomplete.js Wed Dec 16 17:44:16 2009
+++ /branches/dev/ui/jquery.ui.autocomplete.js Tue Dec 22 19:46:47 2009
@@ -14,6 +14,10 @@
(function($) {
$.widget("ui.autocomplete", {
+ options: {
+ minLength: 1,
+ delay: 300
+ },
_init: function() {
var self = this;
this.cache = {};
@@ -240,10 +244,6 @@
});
$.extend($.ui.autocomplete, {
- defaults: {
- minLength: 1,
- delay: 300
- },
escapeRegex: function(value) {
return value.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi, "\\$1");
}
--