-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update typeahead to v0.11.1 #283
Conversation
* @return {!angular.JQLite} | ||
* @param {TypeaheadOptions|string} options | ||
* @param {...TypeaheadDataset|string} var_dataset | ||
* @return {!jQuery} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about this change (from angular.JQLite
to jQuery
)? Note that there is jQuery.prototype.typeahead
when jQuery is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, it's an error
1c2bb04
to
4c79ee9
Compare
This change is not backward compatible because the css class names have changed |
e16c0a3
to
93272f4
Compare
(It's the default new css classname because typeahead offer to you to rename them. But in every case, events names have changed, so that' not backward compatible) |
Geoportail-Luxembourg will be affected but it's not a huge change: search.less needs to be updated |
Can we postpone the merging of this PR? I'd like to be able to update the Luxembourg project when this is merged. |
@elemoine please merge this PR when you are ready |
span.twitter-typeahead .tt-suggestion.tt-cursor { | ||
color: #ffffff; | ||
background-color: #428bca; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this removed completely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a mistake, I'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Thanks @fredj. I'll soon merge this. |
For posterity: when updating the Luxembourg project to use typeahead.js 0.11.1 I hit this bug in typeahead.js: twitter/typeahead.js#1319. I hope this will be fixed in typeahead.js 0.11.2. See Geoportail-Luxembourg/geoportailv3@7ca21c0 for the workaround used in Luxembourg project. |
This reverts commit 4bd17c2.
This change is not backward compatible
Fixes #282.