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

fix: add support for getting/setting an object with a special constructor (e.g., Date, Blob etc.) #140

Merged
merged 2 commits into from
May 12, 2017

Conversation

Sadeka
Copy link
Contributor

@Sadeka Sadeka commented May 12, 2017

No description provided.

…ctor (e.g., Date, Blob etc.)

Unit tests:
- updated the unit test for getting/setting an object (includes a date field too).
- added unit test for getting/setting a date object.

Caution:
- Does not work for local storage, because it saves everything as a string.
@@ -171,7 +171,7 @@
args = arguments,
self = this,
promise;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this extra whitespace here, and we should be good to go!

@Sadeka
Copy link
Contributor Author

Sadeka commented May 12, 2017

@scotttrinh removed the white space in the latest commit.

@scotttrinh scotttrinh merged commit 0089530 into scotttrinh:master May 12, 2017
@scotttrinh
Copy link
Owner

Thanks @Sadeka for the PR! I'll release a patch now.

@Sadeka
Copy link
Contributor Author

Sadeka commented May 14, 2017

@scotttrinh My pleasure!

@kaiukdevelopment
Copy link

Can this be pushed out to bower, please?

@scotttrinh
Copy link
Owner

@kaiukdevelopment Sorry about that! Bad tag name. Should be available now, thanks for pointing this out!

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

Successfully merging this pull request may close these issues.

3 participants