3d2a7eb Merge pull request #28 from sheeley/feature/select-on-hover 2d5d521 Set cursor on hover. d60aed0 Merge pull request #27 from sheeley/feature/complete-current-selection 5e351d1 Merge pull request #41 from Pheil/patch-1 53400c3 Fixed 404 links 5c49ed8 Complete to currently selected suggestion. 6da45f5 Merge pull request #37 from jorrit/patch-1 eab11e6 Fix typos in comments in plugin.js 3d929c8 Add stuff that has been changed or added by now 79a991b Reformat changelog b46224c Merge pull request #25 from jesperronn/node_version f241826 update travis to run latest supported node version 5d69578 Merge pull request #19 from jesperronn/npm_package_updates d78ad00 lock jasmine-query to old version 1.7.0, which has guaranteed support for jquery 1. 0cb71e9 updating npm packages dependencies e7dfc42 Change capitalization 14dfe96 Update to new domain name 9c2b65c Merge pull request #22 from jesperronn/cache_node_modules 9e40c85 General overhaul of the readme c665a6b Add some badges b111a6f Remove jQuery package manager has been deprecated b802342 Update NPM and Bower 6c12035 attempt to speed up Travis builds with cache directive e5c0213 Merge pull request #18 from jesperronn/license_for_npm_package 8d448ea Fixed npm error: adding License link e0556c5 Merge pull request #16 from jesperronn/node_static_dependency c1c6ef9 Merge pull request #15 from jesperronn/npm_postinstall 76dbb90 Travis must have bower installed before running "npm install" b170811 node-static webserver installed locally is good enough. eee05f0 added a postinstall step to npm to cater for easy setup 1f0684f Merge pull request #14 from jcrben/patch-1 e232400 bloodhound.get->bloodhound.search c69b990 Merge pull request #10 from thiagof/dist-build a080d81 distribution build 8e1ffc4 Merge pull request #8 from coopy/fix-async-render-corejs a52bd45 Update rendered-count _after_ async results have displayed 6f191d2 Merge pull request #5 from corejavascript/integration-0.11.2 5e62960 Merge pull request #2 from chip-miller/integration-0.11.2 fad5bd1 Merge pull request #4 from corejavascript/integration-0.11.2 9722aeb Adding Option: matchAnyQueryToken (default false) - By default a search result must match ALL query-tokens. Instead, this option returns results that match ANY a36e6a0 gh-pages are now hosted on the .io domain 6e33c92 Merge pull request #1 from corejavascript/update-name 86ddae4 Update name and links 312d481 Merge pull request #1200 from jharding/1185-bad-async-logic e2d9608 Merge pull request #1199 from jharding/1163-val-undefined 173b4b5 Fix bad async suggestions rendering logic c58519e Coerce val to string when set through API b2b588d Merge pull request #1192 from jharding/1102-scroll-top-open 04f1d66 Scroll menu to top on open 4fe2a34 Merge remote-tracking branch 'origin/1148-index-remote' into integration-0.11.2 212fe89 Register as an anonymous AMD module f885f48 Make indexing remote a top-level option 5b70c60 Bloodhound optionally indexes/matches remote data - https://github.com/twitter/typeahead.js/issues/1148 git-subtree-dir: lib/typeahead git-subtree-split: 3d2a7eb548ef2b737f875e8da634466bd62edd5e
corejs-typeahead
This is a maintained fork of twitter.com's autocomplete search library, typeahead.js.
The typeahead.js library consists of 2 components: the suggestion engine, Bloodhound, and the UI view, Typeahead. The suggestion engine is responsible for computing suggestions for a given query. The UI view is responsible for rendering suggestions and handling DOM interactions. Both components can be used separately, but when used together, they can provide a rich typeahead experience.
Getting Started
How you acquire typeahead.js is up to you:
-
Install with Bower:
$ bower install corejs-typeahead -
Install with npm:
$ npm install corejs-typeahead -
Download the latest dist files individually:
- bloodhound.js (standalone suggestion engine)
- typeahead.jquery.js (standalone UI view)
- typeahead.bundle.js (bloodhound.js + typeahead.jquery.js)
- typeahead.bundle.min.js
Note: both bloodhound.js and typeahead.jquery.js have a dependency on jQuery 1.9+.
Documentation
Examples
For some working examples of typeahead.js, visit the examples page.
Browser Support
- Chrome
- Firefox 3.5+
- Safari 4+
- Internet Explorer 8+
- Opera 11+
NOTE: typeahead.js is not tested on mobile browsers.
Customer Support
For general questions about typeahead.js, tweet at @typeahead.
For technical questions, you should post a question on Stack Overflow and tag it with typeahead.js.
Issues
Discovered a bug? Please create an issue here on GitHub!
github.com/corejavascript/typeahead.js/issues
Versioning
For transparency and insight into our release cycle, releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- Breaking backwards compatibility bumps the major
- New additions without breaking backwards compatibility bumps the minor
- Bug fixes and misc changes bump the patch
For more information on semantic versioning, please visit semver.org.
Testing
Tests are written using Jasmine and ran with Karma. To run
the test suite with PhantomJS, run $ npm test.
Developers
If you plan on contributing to typeahead.js, be sure to read the contributing guidelines. A good starting place for new contributors are issues labeled with entry-level. Entry-level issues tend to require minor changes and provide developers a chance to get more familiar with typeahead.js before taking on more challenging work.
In order to build and test typeahead.js, you'll need to install its dev
dependencies ($ npm install) and have grunt-cli
installed ($ npm install -g grunt-cli). Below is an overview of the available
Grunt tasks that'll be useful in development.
grunt build– Builds typeahead.js from source.grunt lint– Runs source and test files through JSHint.grunt watch– Rebuilds typeahead.js whenever a source file is modified.grunt server– Serves files from the root of typeahead.js on localhost:8888. Useful for using test/playground.html for debugging/testing.grunt dev– Runsgrunt watchandgrunt serverin parallel.
Maintainers
-
Jake Harding
-
You?
Authors
-
Jake Harding
-
Veljko Skarich
-
Tim Trueman
License
Copyright 2013 Twitter, Inc.
Licensed under the MIT License