Debian Codegraph @

dev/raphaelTest.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <head>
3 <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
4 <meta content="utf-8" http-equiv="encoding">
5 <title>Raphael Dev testing html</title>
6
7 <!-- HTML to try new developments in Raphael -->
8
9 <!-- Global use -->
10
11 <!-- To work with full version -->
12 <script type="text/javascript" src="../bower_components/requirejs/require.js"></script>
13 <script type="text/javascript" src="../bower_components/eve/eve.js"></script>
14
15 <!-- To work with minified version -->
16 <!--<script type="text/javascript" src="../raphael-min.js"></script>-->
17
18 <!-- Comment this script tag if you are testing with AMD -->
19 <script type="text/javascript">
20 // Initialize container when document is loaded
21 window.onload = function () {
22 require(['../raphael'], function(Raphael) {
23 var paper = Raphael("container", 640, 720);
24 paper.circle(100, 100, 100).attr({'fill':'270-#FAE56B:0-#E56B6B:100'}); //example
25 });
26 };
27 //Work here, in a separate script file or via command line
28 </script>
29
30 <!-- Use amdDev.js to work with AMD and Raphael -->
31 <!-- You need to do a 'bower install -D' first to get requirejs -->
32
33
34 </head>
35 <body>
36 <!-- Container for svg/vml root element -->
37 <div id="container"></div>
38 </body>
39 </html>