imbrianj / switchBoard

Control of Internet connected devices within a given network via web interface.
MIT License
201 stars 53 forks source link

ai variable discouraged #70

Open dataf3l opened 1 month ago

dataf3l commented 1 month ago

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!

https://github.com/imbrianj/switchBoard/blob/25da17d35abe5f8c9ff4c971949201b1effc7387/lib/db.js#L224