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

ai variable discouraged #70

Open
dataf3l opened this issue Jun 27, 2024 · 0 comments
Open

ai variable discouraged #70

dataf3l opened this issue Jun 27, 2024 · 0 comments

Comments

@dataf3l
Copy link

dataf3l commented Jun 27, 2024

so this "var ai=" thing may have a problem with upcoming changes on the browser and possibly also nodejs as it usually mimics browser apis precisely, as it hides window.ai maybe it should be renamed to prevent future potential conflicts to another name.

have an awesome day!

var ai = require(__dirname + '/../lib/ai');

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

1 participant