Skip to content
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

How to remove data in persist #373

Closed
sculove opened this issue Sep 6, 2016 · 0 comments
Closed

How to remove data in persist #373

sculove opened this issue Sep 6, 2016 · 0 comments

Comments

@sculove
Copy link
Contributor

sculove commented Sep 6, 2016

Description

a persist couldn't remove previous data.
and it couldn't update null or undefined or ""

Steps to check or reproduce

AS-IS

$.persist("key", { val : 10 }); // { val: 10 }
$.persist("key", null); // { val: 10 }
$.persist("key", undefined); // { val: 10 }
$.persist("key", ""); // { val: 10 }

TO-BE

$.persist("key", { val : 10 }); // { val: 10 }
$.persist("key", null); // null
$.persist("key", undefined); // undefined
$.persist("key", ""); // ""
@mixed mixed modified the milestone: 1.4.0 Oct 27, 2016
happyhj added a commit to happyhj/egjs that referenced this issue Nov 16, 2016
can remove value with setting values like null, undefined, ''

ref naver#373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants