1jQuery(function($) { 2 3 // Assume for now that the search input is the sole form field with a 4 // name="s" attribute 5 var $ac = $('form [name="s"], form [name="sitka_search"]').autocomplete({ 6 source: '/wp-json/sitka/v2/completions', 7 minLength: 3, 8 }); 9 10});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.