Debian Codegraph @

dojox/calc/tests/test_GraphPro.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>GraphPro Calculator Test</title>
5
6 <style>
7 @import "../../../dojo/resources/dojo.css";
8 @import "../../../dijit/tests/css/dijitTests.css";
9 @import "../../../dijit/themes/claro/claro.css";
10 @import "../../../dojox/layout/resources/FloatingPane.css";
11 @import "../../../dojox/calc/resources/GraphPro.css";
12 </style>
13
14 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="isDebug:true, parseOnLoad: true"></script>
15
16 <script type="text/javascript">
17 //TODO make the graphing window textboxes respond to the input buttons on the layout
18 require([
19 "dojox/calc/GraphPro",
20 "dojo/ready",
21 "dojo/store/Memory",
22 "dojox/calc/toFrac", // optional add-ons
23 "dojox/calc/FuncGen", // optional add-ons
24 "dojo/parser"
25 ]);
26 </script>
27 </head>
28 <body class=claro>
29 <div id="calculator" data-dojo-type="dojox.calc.GraphPro" data-dojo-props='
30 readStore: new dojo.store.Memory({ idProperty: "name", data: [
31 { name: "test2", args: "a, b", body: "return a/b;"}
32 ]}),
33 writeStore: new dojo.store.Memory({ idProperty: "name", data: [
34 { name: "test", args: "a, b", body: "return a/b;" },
35 { name: "newFunc", args: "", body: "var a,b; return test(b=8,a=4);" },
36 { name: "exampleFunction", args:"x", body:"return 2*x;" }
37 ]})'
38 >
39 </div>
40 </body>
41 </html>