From 38c7b1ca814c59c48522cda6cfdf054c61773959 Mon Sep 17 00:00:00 2001 From: Corey Frang Date: Wed, 30 Jan 2013 08:30:35 -0600 Subject: Demos: Updating to use instance method on bridge --- demos/autocomplete/custom-data.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/autocomplete/custom-data.html') diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index 4e518db4d..32e6a9ad3 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -66,7 +66,7 @@ return false; } }) - .data( "ui-autocomplete" )._renderItem = function( ul, item ) { + .autocomplete( "instance" )._renderItem = function( ul, item ) { return $( "
  • " ) .append( "" + item.label + "
    " + item.desc + "
    " ) .appendTo( ul ); -- cgit v1.2.3