Commit Graph
24 Commits
Author SHA1 Message Date
Blake Doss bc5a757e71 Added prepare function to RemoteOptions interface.
This method appears to have been added to Bloodhound in the 0.11.1
release that rolled out at the end of April.
2015-10-03 11:25:00 -04:00
Blake Doss e30c870675 Added ambient external module for bloodhound. 2015-10-03 11:24:36 -04:00
Artem Kozlov a568ce9345 typeahead. Allow funtction as displayKey. 2015-08-31 10:42:56 +02:00
Matt Bailey a040564265 Fix compiler warning for Bloodhound constructor
Typescript 1.5.3 compiler flags the constructor's lack of a trailing semicolon.
2015-07-29 15:53:24 -07:00
aavezel a6dd0b011a sorter is comparer function
from bloodhound documentation (https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md#api): 
 sorter – A compare function used to sort matched datums for a given query.
link on "compare function" (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) shows that it result value in set of [-1, 0, 1]
2014-12-08 16:29:48 +05:00
Marijn Giesen 3d9320a30f Changed interface Templates to support Handlebars templates as header, footer and empty. 2014-11-21 10:36:59 +01:00
vvakame 9948977ff5 Merge branch 'typeahead-fix' of github.com:ErikSchierboom/DefinitelyTyped into ErikSchierboom-typeahead-fix
Conflicts:
	typeahead/typeahead.d.ts
2014-09-30 12:21:08 +09:00
Erik Schierboom 5651488586 Fixed bug in typeahead definition 2014-09-29 15:04:46 +02:00
Saftpresse99 f79475e2b5 Update typeahead.d.ts
Change property suggestion to function which returns a string.
2014-09-10 13:15:17 +00:00
Saftpresse99 f29f862cf4 Update typeahead.d.ts
Implement typeahead.js bloodhound suggestion engine: https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md
Take input from here: https://github.com/borisyankov/DefinitelyTyped/pull/2239 with some modifications.
2014-09-03 13:56:53 +02:00
Gidon f3423ae5b3 Fixed merge conflict 2014-08-24 09:57:53 +03:00
Basarat Syed 735c0f1d5d Added val methods
- ref https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#api
2014-07-21 11:48:03 +10:00
Gidon 0421179b56 Fixed Tests for Typeahead 2014-07-16 17:04:51 +03:00
Gidon 2cc58f1403 Updated to typeahead 0.10.4
Updated from 0.9.3 to 0.10.4
API has changed quite a bit. Part of the functionality (prefetch etc)
has been taken out from the core lib, and merged into a new lib called
Bloodhound.
Bloodhound still has to be ts-ed.
2014-07-16 16:58:46 +03:00
Gidon d8ecb4d77d Fixed typeahead signatures
- Updated according to official documentation: see
https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md
- Added one more test (from official samples)
2014-07-13 18:27:15 +03:00
maanasa ec0735af31 Update typeahead-tests.ts
Adding tests for including options
2014-03-26 17:45:30 +05:30
maanasa 64bd6c8132 Update typeahead-tests.ts 2014-03-26 17:04:20 +05:30
maanasa a00413743e Update typeahead.d.ts
added support for call typeahead(options, dataset) where options include hint, highlight and minLength all of which are optional.
2014-03-24 15:29:49 +05:30
Bartvds d436daf4c2 added/fixed headers t-z
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 02:59:02 +01:00
Masahiro Wakame 8bd6d2732e Fixed broken test typeahead/typeahead-tests.ts 2013-12-24 13:10:04 +09:00
Ivaylo Gochkov f324e42988 Reference path correction 2013-12-18 12:39:13 +01:00
Ivaylo Gochkov 984598314f Hogan variable
Declared Hogan variable to mock Hogan template engine definitions.
2013-12-18 12:08:02 +01:00
Ivaylo Gochkov 2f03c505f9 JSDoc comments completed 2013-12-18 11:37:24 +01:00
Ivaylo Gochkov 46a54d3216 Initial version
Work is still in progress!
2013-12-18 00:03:12 +01:00