Below is a neat little snippet of code that makes sure jQuery is succesfully loaded from a CDN or it includes a local copy.
<script>window.jQuery || document.write('<script src="/js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
I get the idea but why does the script
tag have two \/
like so: <\/script>
?
Is there a special reason that makes that method perferable to the standard way to close the tag?