-
-
Notifications
You must be signed in to change notification settings - Fork 40
refactoring #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactoring #21
Conversation
| store = typeof window !== 'undefined' && 'sessionStorage' in window | ||
| ? window.sessionStorage | ||
| store = 'sessionStorage' in _global | ||
| ? _global.sessionStorage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misleading line break before '?'; readers may interpret this as an expression boundary.
| store = typeof window !== 'undefined' && 'localStorage' in window | ||
| ? window.localStorage | ||
| store = 'localStorage' in _global | ||
| ? _global.localStorage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misleading line break before '?'; readers may interpret this as an expression boundary.
| MemoryStorageInterface, | ||
| WebStorage, | ||
| WebStorageEvent, | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an identifier and instead saw '}'.
Unexpected ';'.
| MemoryStorageInterface, | ||
| WebStorage, | ||
| WebStorageEvent, | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an identifier and instead saw '}'.
Unexpected ';'.
No description provided.