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
Incorrect syntax at object properties #108
Comments
It seems it is correct, so it may be issues with NUglify and ES6 syntax. Many plugins oftens ships both format, e.g. Bootstrap: https://github.com/twbs/bootstrap/tree/main/js |
If you go to the Currently I am doing library refactoring and I want to add tests so I will think about esm by the way ;) So fast, if you have a bug with this uncompiled library autocomplete.js then change the format to umd in I will close the problem for now. |
@Tomik23 we could try with the |
So I will change There should be a new build tomorrow. It will contain a minimized version of |
As of version 1.6.8, all the necessary files are in the dist directory. |
It seems there's a syntax error at the properties here, and a tool like NUglify warns about this: https://github.com/trullock/NUglify/blob/master/src/NUglify/JavaScript/JSError.cs#L96
It seems in should be the following instead using
:
instead of=
operator:https://github.com/tomik23/autocomplete/blob/master/docs/js/autocomplete.js#L34-L54
like you have here: https://github.com/tomik23/autocomplete/blob/master/docs/js/autocomplete.js#L7-L10
The text was updated successfully, but these errors were encountered: