Permalink
Browse files

style: load RequireJS and jQuery separately

It's easier to update libraries and change CDN.
New CDN uses protocol-relative URL and supports HTTPS / HTTP.

#47
  • Loading branch information...
MOxFIVE committed Mar 9, 2016
1 parent 4adf95e commit eeec0504b13f9ccf4929dea33fb5389f36c3fdb3
Showing with 2 additions and 2 deletions.
  1. +2 −2 layout/_partial/after-footer.ejs
@@ -1,8 +1,8 @@
<% if (theme.github_widget){ %>
<%- js('js/GithubRepoWidget') %>
<% } %>
<%- js('http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min') %>
<%- js('js/main') %>
<%- js('//cdn.bootcss.com/jquery/1.9.1/jquery.min') %>
<script data-main="/js/main.js" src="//cdn.bootcss.com/require.js/2.1.22/require.min.js"></script>
<%- partial('_partial/background') %>
<%- partial('google-analytics') %>
<% if (theme.mathjax){ %>

0 comments on commit eeec050

Please sign in to comment.