Skip to content

Commit fb39a47

Browse files
committed
Moved debug to console.log
1 parent dd469e3 commit fb39a47

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

neo4j.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@
2828
background-color: #008CC2;
2929
color: #FFF;
3030
}
31-
#logPanel {
32-
background-color: #222;
33-
color: #FFF;
34-
position: fixed;
35-
top: 0;
36-
right: 0;
37-
width: 40%;
38-
height: 100%;
39-
}
40-
#log {
41-
margin: 0;
42-
padding: 0 2px;
43-
height: 100%;
44-
font: 13px "Courier New";
45-
overflow-y: scroll;
46-
}
4731
body {
4832
font: 15px "Courier New";
4933
background-color: #CCC;
@@ -144,8 +128,6 @@ <h1>Cypher Runner for New Remoting</h1>
144128
</tr>
145129
</table>
146130

147-
<div id="logPanel"><pre id="log"></pre></div>
148-
149131
</div>
150132

151133
<script>

neo4j.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,7 @@
618618
}
619619

620620
function debug(obj) {
621-
var el = document.getElementById("log");
622-
el.appendChild(document.createTextNode(new Date().toISOString() + " " + obj.toString()));
623-
el.appendChild(document.createElement("br"));
624-
el.scrollTop = el.scrollHeight;
621+
console.log(obj);
625622
}
626623

627624
// Expose the 'Session' class

0 commit comments

Comments
 (0)