Some common code improvements

This commit is contained in:
Arsen Melikyan
2015-12-06 13:17:19 +04:00
parent addcd4fa20
commit 029cd52e80
3 changed files with 12 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ window.common = (function(global) {
!key ||
typeof key !== 'string'
) {
console.log('unable to save to storage');
console.log('unable to read from storage');
return '';
}
return '' + localStorage.getItem(key + 'Val');