Skip to content

Commit

Permalink
style: load RequireJS and jQuery separately
Browse files Browse the repository at this point in the history
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 eeec050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_partial/after-footer.ejs
Original file line number Diff line number Diff line change
@@ -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){ %>
Expand Down

0 comments on commit eeec050

Please sign in to comment.