File: cpp.html

package info (click to toggle)
jsxgraph 1.10.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 24,804 kB
  • sloc: javascript: 82,299; xml: 5,869; java: 1,072; php: 281; makefile: 184; python: 174; cpp: 76; sh: 12
file content (18 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="../../distrib/jsxgraph.css" />
        <script src="cpp.js"></script>
        <script src="../../distrib/jsxgraphcore.js"></script>
    </head>
    <body>
        <div id="box" class="jxgbox" style="width:700px; height:500px;"></div>
        <script>
            Module.onRuntimeInitialized = () => {
                console.log('runtime initialized, running');

                let result = Module.main();
                console.log('result', result);
            }
        </script>
    </body>
</html>