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

Example/index.html: Protocol-Relative URL's don't work when testing locally. #21

Open
daggar opened this issue Aug 11, 2017 · 0 comments

Comments

@daggar
Copy link

daggar commented Aug 11, 2017

Good plugin. Thank you for saving me from writing mutator code.

I was using your example code on my local hard drive, and saw that it's loading scripts with protocol-relative URL's

<script src="//code.jquery.com/jquery-1.10.2.js"></script>

...will never work on a local disk, since it's trying to load file:///code.jquery.com/jquery-1.10.2.js . Would recommend using absolute URL's there.

<script src="https://code.jquery.com/jquery-1.10.2.js"></script>

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

1 participant