[jdf-dev] [JBoss JIRA] (JDF-76) Add locally hosted fallback for cdn hosted js
Jason Porter (JIRA)
jira-events at lists.jboss.org
Thu Jul 19 13:22:06 EDT 2012
[ https://issues.jboss.org/browse/JDF-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706850#comment-12706850 ]
Jason Porter commented on JDF-76:
---------------------------------
Have we actually seen the cdn fail?
> Add locally hosted fallback for cdn hosted js
> ---------------------------------------------
>
> Key: JDF-76
> URL: https://issues.jboss.org/browse/JDF-76
> Project: JBoss Developer Framework
> Issue Type: Feature Request
> Components: site
> Reporter: Pete Muir
>
> [18:08] <kborchers> after your script tag for including jquery from cdn, you can just add something like
> [18:08] <kborchers> <script>window.jQuery || document.write( '<script src="js/libs/jquery-1.7.2.min.js"><\/script>' )</script>
> [18:08] <kborchers> similar for bootstrap
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jdf-dev
mailing list