Spaces:
Runtime error
Runtime error
Hariganesh Srinivasan
commited on
fit canvas inside div
Browse files
app.py
CHANGED
|
@@ -12,11 +12,8 @@ HTML = """
|
|
| 12 |
if (xmlhttp.status == 200) {
|
| 13 |
eval(xmlhttp.responseText);
|
| 14 |
}
|
| 15 |
-
else if (xmlhttp.status == 400) {
|
| 16 |
-
alert("There was an error 400");
|
| 17 |
-
}
|
| 18 |
else {
|
| 19 |
-
alert("
|
| 20 |
}
|
| 21 |
}
|
| 22 |
};
|
|
|
|
| 12 |
if (xmlhttp.status == 200) {
|
| 13 |
eval(xmlhttp.responseText);
|
| 14 |
}
|
|
|
|
|
|
|
|
|
|
| 15 |
else {
|
| 16 |
+
alert("There was a problem fetching the wasm bindings. Try again");
|
| 17 |
}
|
| 18 |
}
|
| 19 |
};
|