From 6935f693b3bce10f9bfe7b7e1f3c2705ff2b6ca2 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 28 Jan 2012 13:16:05 -0800 Subject: typahead does case insensitive matching with simple sorter + accepts highlighter option --- docs/templates/pages/javascript.mustache | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'docs/templates/pages/javascript.mustache') diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 46420660a..cba75ac08 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -1297,7 +1297,7 @@ $('.myCarousel').carousel({ {{_i}}Name{{/i}} {{_i}}type{{/i}} - {{_i}}default{{/i}} + {{_i}}default{{/i}} {{_i}}description{{/i}} @@ -1317,15 +1317,21 @@ $('.myCarousel').carousel({ {{_i}}matcher{{/i}} {{_i}}function{{/i}} - case sensitive + {{_i}}case insensitive{{/i}} {{_i}}The method used to determine if a query matches an item. Accepts a single argument, the item against which to test the query. Access the current query with this.query. Return a boolean true if query is a match.{{/i}} {{_i}}sorter{{/i}} {{_i}}function{{/i}} - no sort + {{_i}}exact match,
case sensitive,
case insensitive{{/i}} {{_i}}Method used to sort autocomplete results. Accepts a single argument items and has the scope of the typeahead instance. Reference the current query with this.query.{{/i}} + + {{_i}}highlighter{{/i}} + {{_i}}function{{/i}} + {{_i}}highlights all default matches{{/i}} + {{_i}}Method used to highlight autocomplete results. Accepts a single argument item and has the scope of the typeahead instance. Should return html.{{/i}} + -- cgit v1.2.3