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

clean up code #29

Open
2 tasks
jdittrich opened this issue Jun 14, 2016 · 1 comment
Open
2 tasks

clean up code #29

jdittrich opened this issue Jun 14, 2016 · 1 comment
Assignees

Comments

@jdittrich
Copy link
Owner

jdittrich commented Jun 14, 2016

The code in https://github.com/jdittrich/ep_autocomp/blob/master/static/js/autocomp.js is messy.

It is commented, but the order of the functions does not make sense and the comments should be reviewed.

  • moveUp and moveDown functions should be adjacent
  • createAutocompHTML does return undefined, not "?"
@lpagliari
Copy link
Collaborator

createAutocompHTML does return undefined, not ?

Yes. :-) It does not return anything, it is used to display new suggestions to the user.

@jdittrich jdittrich self-assigned this Jun 14, 2016
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

No branches or pull requests

2 participants