-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
52 lines (40 loc) · 1.36 KB
/
index.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="bower_components/spectrum/spectrum.css" />
<link rel="stylesheet" href="bower_components/seiyria-bootstrap-slider/css/bootstrap-slider.css" />
<script type="text/javascript" src="bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="bower_components/pixi.js/bin/pixi.dev.js"></script>
<script type="text/javascript" src="bower_components/spectrum/spectrum.js"></script>
<script type="text/javascript" src="bower_components/seiyria-bootstrap-slider/js/bootstrap-slider.js"></script>
<script type="text/javascript" src="bower_components/pixi-editor/pixi-editor.js"></script>
<style>
/* Customize container */
@media (min-width: 768px) {
.container {
max-width: 730px;
}
}
</style>
<script type="text/javascript">
var editor1 = null;
$(function(){
editor1 = new editor('view', 650, 400);
editor1.onSave(function(image){
var win = window.open(image);
});
});
</script>
</head>
<body>
<div class="container">
<div class="header">
<h3>pixi-editor.js</h3>
</div>
<div class="well" id="view">
</div>
</div>
</body>
</html>