Use jQuery from CDN rather than framework

Static asset paths in framework aren't a public API,
and hence shouldn't be relied on by other modules.

The template already includes some shim JS from the web,
so this doesn't change the fact that you need a network connection
to fully use the default theme.
This commit is contained in:
Ingo Schommer 2016-09-15 15:31:50 +12:00
parent c8f07c500f
commit 06cc25449f
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ Change it, enhance it and most importantly enjoy it!
</div>
<% include Footer %>
<% require javascript('framework/thirdparty/jquery/jquery.js') %>
<% require javascript('http://code.jquery.com/jquery-1.7.2.min.js') %>
<%-- Please move: Theme javascript (below) should be moved to mysite/code/page.php --%>
<script type="text/javascript" src="{$ThemeDir}/javascript/script.js"></script>