Merge pull request #835 from anthonychu/master

Minor Bootstrap fixes and updates
This commit is contained in:
Diullei Gomes
2013-08-06 18:52:11 -07:00
2 changed files with 13 additions and 5 deletions
+6 -1
View File
@@ -35,6 +35,11 @@ $('#myCollapsible').collapse({ toggle: false });
$('.carousel').carousel();
$('.carousel').carousel({ interval: 2000 });
$('.typeahead').typeahead();
$('.typeahead').typeahead({
matcher: item => true,
sorter: (items: any[]) => items,
updater: item => item,
highlighter: item => ""
});
$('#navbar').affix();
+7 -4
View File
@@ -32,6 +32,7 @@ interface TooltipOptions {
title?: any;
trigger?: string;
delay?: any;
container?: any;
}
interface PopoverOptions {
@@ -42,7 +43,8 @@ interface PopoverOptions {
trigger?: string;
title?: any;
content?: any;
delay?: any;
delay?: any;
container?: any;
}
interface CollapseOptions {
@@ -59,9 +61,10 @@ interface TypeaheadOptions {
source?: any;
items?: number;
minLength?: number;
matcher?: () => any;
sorter?: () => any;
highlighter?: () => any;
matcher?: (item: any) => boolean;
sorter?: (items: any[]) => any[];
updater?: (item: any) => any;
highlighter?: (item: any) => string;
}
interface AffixOptions {