Move checks for empty command text to SqlCommand
[mono-project.git] / sdks / wasm / debug.html
blob2c8c3b25d371753ad433ce64f67b66e580977d8b
1 <!doctype html>
2 <html lang="en-us">
3 <head>
4 </head>
5 <body>
6 C# output:
7 <br>
8 <textarea rows="10" cols="100" id="output"></textarea>
9 <br>
10 <button type="button" onclick="App.onClick()" id="button" disabled="true">SendEvent</button>
11 <br>
13 <script type="text/javascript" src="mono-config.js"></script>
14 <script type='text/javascript'>
15 var App = {
16 onClick: function () {
17 this.output.value = "...";
18 var res = this.int_add (10, 20);
19 this.output.value = "res is " + res;
22 init: function () {
23 this.int_add = Module.mono_bind_static_method ("[sample] Math:IntAdd");
24 this.output = document.getElementById ("output");
25 this.button = document.getElementById ("button");
27 this.button.disabled = false;
28 console.log ("ready");
31 </script>
32 <script type="text/javascript" src="runtime.js"></script>
33 <script async type="text/javascript" src="mono.js"></script>
34 </body>
35 </html>