Skip to content
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

Merged
merged 1 commit into from
Aug 19, 2015
Merged

Update typeahead to v0.11.1 #283

merged 1 commit into from
Aug 19, 2015

Conversation

fredj
Copy link
Member

@fredj fredj commented Aug 4, 2015

This change is not backward compatible

Fixes #282.

* @return {!angular.JQLite}
* @param {TypeaheadOptions|string} options
* @param {...TypeaheadDataset|string} var_dataset
* @return {!jQuery}
Copy link
Contributor

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.

Copy link
Member Author

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

@fredj fredj force-pushed the typeahead branch 3 times, most recently from 1c2bb04 to 4c79ee9 Compare August 6, 2015 09:36
@fredj
Copy link
Member Author

fredj commented Aug 6, 2015

This change is not backward compatible because the css class names have changed

@fredj fredj force-pushed the typeahead branch 2 times, most recently from e16c0a3 to 93272f4 Compare August 6, 2015 09:40
@fredj fredj changed the title [wip] Update typeahead to v0.11.1 Update typeahead to v0.11.1 Aug 6, 2015
@ger-benjamin
Copy link
Member

(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)
RTM for me

@fredj
Copy link
Member Author

fredj commented Aug 6, 2015

Geoportail-Luxembourg will be affected but it's not a huge change: search.less needs to be updated

@elemoine
Copy link
Contributor

elemoine commented Aug 6, 2015

Can we postpone the merging of this PR? I'd like to be able to update the Luxembourg project when this is merged.

@fredj
Copy link
Member Author

fredj commented Aug 6, 2015

@elemoine please merge this PR when you are ready

span.twitter-typeahead .tt-suggestion.tt-cursor {
color: #ffffff;
background-color: #428bca;
}
Copy link
Contributor

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?

Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@elemoine
Copy link
Contributor

Thanks @fredj. I'll soon merge this.

@elemoine
Copy link
Contributor

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.

elemoine pushed a commit that referenced this pull request Aug 19, 2015
Update typeahead  to v0.11.1
@elemoine elemoine merged commit c67cc72 into camptocamp:master Aug 19, 2015
elemoine referenced this pull request in Geoportail-Luxembourg/geoportailv3 Sep 9, 2015
@fredj fredj deleted the typeahead branch November 25, 2016 15:04
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update typeahead to the latest version
4 participants