We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fd65b6 + a5b3037 commit 71fb14aCopy full SHA for 71fb14a
index.html
@@ -0,0 +1,14 @@
1
+<!doctype html>
2
+<html>
3
+<head>
4
+<meta charset="UTF-8">
5
+<title>simple-snippets-console</title>
6
+<style>
7
+body {
8
+ font-family: sans-serif;
9
+}
10
+</style>
11
+<body>
12
+<p><a href="https://github.com/tjcrowder/simple-snippets-console">Details in the github project</a></p>
13
+</body>
14
+</html>
snippet.js
@@ -12,6 +12,8 @@ var snippet = {
msg = msg.join();
} else if (typeof msg === "object") {
msg = msg === null ? "null" : JSON.stringify(msg);
15
+ } else {
16
+ msg = String(msg);
17
}
18
elm.appendChild(document.createTextNode(msg));
19
document.body.appendChild(elm);
0 commit comments