forked from ecomfe/fonteditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.html
33 lines (32 loc) · 1016 Bytes
/
editor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>Editor</title>
<link rel="shortcut icon" href="http://www.baidu.com/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="./css/editor.css">
</head>
<body>
<div id="editor-panel" class="editor-panel" oncontextMenu="return false"></div>
<script src="./dep/esl.js"></script>
<script src="./dep/jquery.min.js"></script>
<script src="./dep/paper-full.js"></script>
<script src="./dep/hidpi-canvas.js"></script>
<script>
window.language = 'zh-cn';
require.config({
baseUrl: './src',
packages: [
{
name: 'fonteditor-core',
location: '../dep/fonteditor-core/src'
}
]
});
define('jquery', window.jQuery);
paper.install(window);
define('paper', window.paper);
require(['fonteditor/editor']);
</script>
</body>
</html>