mrdoob / system.js

JavaScript object with the user's system information.
MIT License
206 stars 47 forks source link

Better name: UserAgent? #16

Open al-the-x opened 9 years ago

al-the-x commented 9 years ago

Found your library by accident when using bower install systemjs to (hopefully) install systemjs. While I can see the utility of your code, perhaps a better name is UserAgent.js?

Once upon a time almost every application had UA sniffing code like this to detect the specific browser or browser version and execute polyfills or execute different calls. Those were dark times, man. Dark times.

mrdoob commented 9 years ago

Hmm... How about ua.js?

al-the-x commented 9 years ago

Yeah, works for me. User Agent is usually abbreviated UA anyway.