Commit Graph

43 Commits

Author SHA1 Message Date
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Aya Morisawa
48f20e97bf Remove trailing whitespaces 2016-01-27 20:17:35 +09:00
igochkov
6e2b3966c7 Complete rewrite of the typeahead tests to reflect latest 0.11.1 typeahead documentation 2016-01-14 23:43:19 +01:00
Ivaylo Gochkov
bc795de3e0 Version number changed in the header of the file.
* Version number changed in the header of the file.
* BloodhoundOptions
 - initialize made optional
 - identify made optional

* PrefetchOptions
 - the signiture of transform changed

* RemoteOptions
 - the signiture of transform changed
2016-01-14 10:02:30 +01:00
igochkov
8665d354b1 BloodhoudOptions, PrefetchOptions and RemoteOptions changed to reflect latest 0.11.1 typeahead documentation 2016-01-14 00:10:13 +01:00
igochkov
5da897b7fb Bloodhoud class changed to reflect latest 0.11.1 typeahead documentation 2016-01-13 22:44:50 +01:00
igochkov
954b68bfff Typeahead constructors changed to be generic 2016-01-13 22:16:17 +01:00
igochkov
9e53dceb17 Typeahead dataset and templates changed to reflect latest 0.11.1 typeahead documentation 2016-01-13 22:09:31 +01:00
igochkov
f2851bcb95 Typeahead options extended with classNames to reflect latest 0.11.1 typeahead documentation 2016-01-13 21:47:56 +01:00
igochkov
a94a38a68f Typeahead constructor and events signitures changed to reflect latest 0.11.1 typeahead documentation 2016-01-12 23:38:11 +01:00
Evander Tino
d6fb579046 Update typeahead.d.ts
For some reasons when using typeahead dataset display field with angular, the bindings dont work properly across every field mapped. But displayKey works. According to the api https://github.com/twitter/typeahead.js/blob/master/src/typeahead/dataset.js#L47 both fields are accepted.
2015-12-31 11:45:41 +03:00
Luigi Trabacchin
d28dd90af5 Typeahead: Received an update through nuget, incorporated the differences 2015-10-17 12:14:39 +02:00
Luigi Trabacchin
b7257e1d4c typeahead: added all the events, tests coming soon 2015-10-14 20:54:29 +02:00
Luigi Trabacchin
bf24ad8828 typeahead: Added support for some of the custom events 2015-10-14 20:13:45 +02:00
Luigi Trabacchin
d7b3d781a8 Typeahead : DisplayKey is now Display 2015-10-14 15:36:34 +02:00
Luigi Trabacchin
da4f02bd35 Typeahead: added missing options, and missing parameters, normalized some comments and code style 2015-10-14 14:42:17 +02:00
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