This commit is contained in:
kekee000
2016-03-30 00:14:46 +08:00
parent 77b9befcd8
commit 9a45bef1bd
2 changed files with 3 additions and 35 deletions

View File

@@ -5,7 +5,7 @@
<title>canvas拟合图像</title>
<script src="../dep/esl.js"></script>
<script src="../dep/jquery.min.js"></script>
<script src="../dep/clipper.js"></script>
<script src="../dep/paper-full.js"></script>
<link rel="stylesheet" type="text/css" href="./css/editor.css">
<style>
body {
@@ -48,7 +48,8 @@
}
});
define('jquery', window.jQuery);
define('ClipperLib', window.ClipperLib);
paper.install(window);
define('paper', paper);
</script>
<script>require(['demo/fitImage'])</script>