add ttf2woff

This commit is contained in:
mkwiser
2014-10-04 15:39:26 +08:00
parent dbfa8b881c
commit 5299b6c737
35 changed files with 1123 additions and 607 deletions

26
demo/testDeflate.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>测试deflate函数</title>
<script src="../dep/esl.js"></script>
<script src="../dep/jquery.min.js"></script>
</head>
<body>
<script>
require.config({
baseUrl: '../src',
paths: {
demo: '../demo/js',
deflate: '../dep/pako_deflate.min'
}
});
define('jquery', $);
</script>
<script>
require(['demo/testDeflate']);
</script>
</body>
</html>