Skip to content

Conversation

@tanoabeleyra
Copy link
Contributor

No description provided.

this.storage.setItem(
this.options.namespace + name,
JSON.stringify({ value, expire: expire !== null ? new Date().getTime() + expire : null }),
JSON.stringify({ value, expire: expire !== null ? new Date().getTime() + expire : null })

Choose a reason for hiding this comment

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

'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 6396c69 on tanoabeleyra:patch-1 into eadff52 on RobinCK:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 6396c69 on tanoabeleyra:patch-1 into eadff52 on RobinCK:master.

@RobinCK RobinCK merged commit 5e33ac7 into RobinCK:master Aug 27, 2017
@RobinCK
Copy link
Owner

RobinCK commented Aug 27, 2017

@tanoabeleyra thanks

@tanoabeleyra tanoabeleyra deleted the patch-1 branch August 27, 2017 19:46
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.

4 participants