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

Meaning of "once", line 209 #155

Open
MarkusPint opened this issue Sep 20, 2015 · 1 comment
Open

Meaning of "once", line 209 #155

MarkusPint opened this issue Sep 20, 2015 · 1 comment

Comments

@MarkusPint
Copy link

There seems to be an option "once" you can add to the resource objects that are passed to basket.require(), but it is not documented anywhere.

The idea seems to be to prevent a loaded script from being executed again, if it is loaded a second time.

Should this be added to api.md?

@addyosmani
Copy link
Owner

If memory serves your comments are correct. We may not have added this to the docs as it wasn't considered for long-term use, but given its been there a while let's add to the docs.

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

No branches or pull requests

2 participants