Lines Matching refs:elem
423 var elem = instance.options.array[i];
425 elem.toLowerCase().indexOf(entry.toLowerCase()) :
426 elem.indexOf(entry);
429 if (foundPos == 0 && elem.length != entry.length) {
430 ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" +
431 elem.substr(entry.length) + "</li>");
435 if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
436 partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +
437 elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(
444 elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :
445 elem.indexOf(entry, foundPos + 1);