diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-01-15 18:58:20 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-01-15 18:58:20 +0000 |
commit | 7d96a0d0966d9e680c968db2869900ac624a44ad (patch) | |
tree | 88076c2f23bb64749d7af87bc26991798dcff915 /ui/jquery.ui.autocomplete.js | |
parent | ab153e07c78098567b9f1e53deb9145bcd6c22d3 (diff) | |
download | jquery-ui-7d96a0d0966d9e680c968db2869900ac624a44ad.tar.gz jquery-ui-7d96a0d0966d9e680c968db2869900ac624a44ad.zip |
Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 3a6c5607c..27d9ee7d6 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -18,7 +18,7 @@ $.widget("ui.autocomplete", { minLength: 1, delay: 300 }, - _init: function() { + _create: function() { var self = this; this.element .addClass("ui-autocomplete ui-widget ui-widget-content ui-corner-all") @@ -296,7 +296,7 @@ $.extend($.ui.autocomplete, { (function($) { $.widget("ui.menu", { - _init: function() { + _create: function() { var self = this; this.element .addClass("ui-menu ui-widget ui-widget-content ui-corner-all") |