Remove dependency to cdnjs.cn

This commit is contained in:
Belleve Invis 2015-07-27 07:48:10 +08:00
parent ef8cac9b91
commit d2d4466cbb
2 changed files with 5 additions and 2 deletions

View File

@ -131,7 +131,7 @@
color: white;
}
</style>
<script src="http://cdnjscn.b0.upaiyun.com/libs/zepto/1.1.4/zepto.min.js"></script>
<script src="zepto.min.js"></script>
</html>
<body>
<p>Iosevka is a monospace coding typeface inspired by <a href="http://www.fsd.it/fonts/pragmatapro.htm">Pragmata Pro</a>, <a href="http://mplus-fonts.osdn.jp/">M+</a> and <a href="http://www.parachute.gr/typefaces/allfonts/din-mono-pro">PF DIN Mono</a>. It is designed to have a narrow shape to be space efficient and compatible to CJK characters.</p>
@ -168,7 +168,8 @@
}
fonts.forEach(function(font, fontindex){
var div = $('<div>').addClass('show ' + font.cls);
$.getJSON(font.name + '.charmap', function(data){
$.get(font.name + '.charmap', function(data){
data = JSON.parse(data);
var uhash = [];
for(var j = 0; j < data.length; j++) {
var unicodes = data[j][1];

2
zepto.min.js vendored Normal file

File diff suppressed because one or more lines are too long