tejacques / crosstab

A utility library for cross-tab communication using localStorage.
Apache License 2.0
365 stars 58 forks source link

Must not clear localStorage #43

Closed scaryzet closed 9 years ago

scaryzet commented 9 years ago

localStorage.clear() accepts no arguments and clears the entire storage. Probably removeItem() is the way to go.

tejacques commented 9 years ago

Great catch! Thanks for submitting this. I'll try to get this merged shortly.

onsails commented 9 years ago

@tejacques please, bump version. It's a critical fix.

tejacques commented 9 years ago

@prettynatty this is live on npm now.

onsails commented 9 years ago

thank you!