Created
November 26, 2013 18:03
-
-
Save sorabh86/7662989 to your computer and use it in GitHub Desktop.
Javascript: jquery google fallback Html tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<!-- include extern jQuery file but fall back to local file if extern one fails to load !--> | |
<script src="http://code.jquery.com/jquery-${1:1.10.2}.min.js"></script> | |
<script type="text/javascript">window.jQuery || document.write('<script type="text\/javascript" src="js\/${1:1.10.2}.jquery.min"><\/script>')</script> | |
]]></content> | |
<tabTrigger>gjf</tabTrigger> | |
<scope>text.html</scope> | |
<description>Jquery/google-fallback</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment