bootup.js icon indicating copy to clipboard operation
bootup.js copied to clipboard

Rename key used from "cache" to something bootup specific

Open jwlrs opened this issue 13 years ago • 1 comments

Considering that bootup may live alongside other code that wants to use localStorage, it would be a good idea to use a less generic name for your key on localStorage.setItem, in order to avoid accidental collisions. Maybe "bootupjs.cache" or something.

Otherwise, great idea!

jwlrs avatar Nov 28 '12 20:11 jwlrs

Good point! Maybe being able to specify what the key is will also allow a bit of control if even that is a collision for whatever reason.

djmc avatar Nov 29 '12 10:11 djmc