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

http: missing from one of links in documentation. #12

Closed
halso opened this issue Aug 21, 2013 · 2 comments
Closed

http: missing from one of links in documentation. #12

halso opened this issue Aug 21, 2013 · 2 comments

Comments

@halso
Copy link

halso commented Aug 21, 2013

On the documentation page at :-
https://github.com/jpillora/jquery.rest
just after:-

First setup your page:

The code includes:-

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

which is missing the http: and so should read:-

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">\</script>

Nice script. Thanks.

Steve.

@jpillora
Copy link
Owner

Thanks for heads up, though have you tested it :P ?

On Thursday, August 22, 2013, halso wrote:

On the documentation page at :-
https://github.com/jpillora/jquery.rest
just after:-

First setup your page:

The code includes:-

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js "></script>

which is missing the http: and so should read:-

<script src=" http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">\ Nice script. Thanks. Steve. — Reply to this email directly or view it on GitHubhttps://github.com//issues/12 .

@jpillora
Copy link
Owner

It's actually on purpose, essentially, it tells the browser (even IE6), to use the protcol of the current page. For more on this, read this article.

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