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

Remove too specific code #4

Closed
idealley opened this issue Sep 3, 2017 · 0 comments · Fixed by #6
Closed

Remove too specific code #4

idealley opened this issue Sep 3, 2017 · 0 comments · Fixed by #6

Comments

@idealley
Copy link
Owner

idealley commented Sep 3, 2017

if (hook.result._sys.status === 200 && !hook.result.cache.cached)

this hook.result._sys.status is specific to an API I developed from which I extracted the plugin.

Not everybody may want to have such properties. The cache.cached property is added by one of the hooks.

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

Successfully merging a pull request may close this issue.

1 participant