6 ms·
I wish there was more uniformity with the way JavaScript libraries manage the global namespace. So, I stripped down the library I use to the bare essentials, a
by mckoss 16y ago
I wish there was more uniformity with the way JavaScript libraries manage the global namespace. So, I stripped down the library I use to the bare essentials, and made it a stand-alone open source (public domain) project.
I'm hoping that by removing the idiosyncrasies of my earlier version, I can actually get others to adopt this mechanism.
Is it crazy to have such a tiny open source project?
(BTW: the gzipped/minified version of the library is less than 250 bytes - hence the title).
- jrockway 16y agoIs it crazy to have such a tiny open source project? Not particularly. Who cares how much or how little code there is, if it does the job?
- reinhardt 16y agoNot crazy but probably an overkill. I'd just post it as a gist.
- mckoss 16y agoSince I want this evangelize this to others, making a full repo lets me put in a nice read me, make it clear the license is in the public domain, and also provide unit tests.
- Semiapies 16y agoI'm intrigued; I'll have to try it out.