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

Installation doc fix for standalone version #310

Merged
merged 2 commits into from Jul 30, 2020
Merged

Conversation

@nhoizey
Copy link
Contributor

@nhoizey nhoizey commented Jul 30, 2020

Summary

The README currently says that "The autocomplete.js library must be included after […] Zepto […]".

So I thought I had to load Zepto first, and then autocomplete.js.

But it looks like Zepto is already embedded into dist/autocomplete.js.

I checked it works when I load autocomplete.js without loading Zepto before.

Result

Updated doc.

The README currently says that "The autocomplete.js library must be included after […] Zepto […]", so I thought I had to load `Zepto` first, and then `autocomplete.js`, but it looks like `Zepto` is [already embedded into `dist/autocomplete.js`](https://github.com/algolia/autocomplete.js/blob/master/dist/autocomplete.js#L169), and I checked it works when I load `autocomplete.js` without loading `Zepto` before.
Copy link
Contributor

@Haroenv Haroenv left a comment

Thanks!

README.md Outdated Show resolved Hide resolved
@coveralls
Copy link

@coveralls coveralls commented Jul 30, 2020

Coverage Status

Coverage remained the same at 88.971% when pulling da5fe54 on nhoizey:patch-1 into 5832565 on algolia:master.

Co-authored-by: Haroen Viaene <fingebimus@me.com>
@Haroenv Haroenv merged commit bcd90e4 into algolia:master Jul 30, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@nhoizey nhoizey deleted the nhoizey:patch-1 branch Jul 30, 2020
@nhoizey
Copy link
Contributor Author

@nhoizey nhoizey commented Jul 30, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.