forked from DmitryBaranovskiy/raphael
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathraphaelTest.html
36 lines (29 loc) · 1.24 KB
/
raphaelTest.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
<!DOCTYPE html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>Raphael Dev testing html</title>
<!-- HTML to try new developments in Raphael -->
<!-- Global use -->
<!-- To work with full version -->
<!--<script type="text/javascript" src="../raphael.js"></script>-->
<!-- To work with minified version -->
<!--<script type="text/javascript" src="../raphael-min.js"></script>-->
<!-- Comment this script tag if you are testing with AMD -->
<!--<script type="text/javascript">
// Initialize container when document is loaded
window.onload = function () {
var paper = Raphael(0, 0, 640, 720, "container");
paper.circle(100, 100, 100).attr({'fill':'270-#FAE56B:0-#E56B6B:100'}); //example
};
//Work here, in a separate script file or via command line
</script>-->
<!-- Use amdDev.js to work with AMD and Raphael -->
<!-- You need to do a 'bower install -D' first to get requirejs -->
<script data-main="amdDev" src="../bower_components/requirejs/require.js"></script>
</head>
<body>
<!-- Container for svg/vml root element -->
<div id="container"></div>
</body>
</html>