aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-14 16:52:13 +0800
committerobscuren <geffobscura@gmail.com>2014-08-14 16:52:13 +0800
commit14e4f1283cdde91b38bd8cbf2b2fed69388aa75d (patch)
tree3c193dc4d6ce030c4145a6b3dfd020d4a62a1df0
parent95ba340d07a02da40000d4bcf2b1bb24bd7856ef (diff)
downloaddexon-14e4f1283cdde91b38bd8cbf2b2fed69388aa75d.tar.gz
dexon-14e4f1283cdde91b38bd8cbf2b2fed69388aa75d.tar.zst
dexon-14e4f1283cdde91b38bd8cbf2b2fed69388aa75d.zip
Removed old debug method
-rw-r--r--ethereal/assets/ext/pre.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/ethereal/assets/ext/pre.js b/ethereal/assets/ext/pre.js
index ca520f152..3e8a534e9 100644
--- a/ethereal/assets/ext/pre.js
+++ b/ethereal/assets/ext/pre.js
@@ -1,18 +1,3 @@
-function debug(/**/) {
- var args = arguments;
- var msg = ""
- for(var i = 0; i < args.length; i++){
- if(typeof args[i] === "object") {
- msg += " " + JSON.stringify(args[i])
- } else {
- msg += " " + args[i]
- }
- }
-
- postData({call:"debug", args:[msg]})
- document.getElementById("debug").innerHTML += "<br>" + msg
-}
-
// Helper function for generating pseudo callbacks and sending data to the QML part of the application
function postData(data, cb) {
data._seed = Math.floor(Math.random() * 1000000)
@@ -50,9 +35,3 @@ navigator.qt.onmessage = function(ev) {
}
}
}
-
-window.onerror = function(message, file, lineNumber, column, errorObj) {
- debug(file, message, lineNumber+":"+column, errorObj);
-
- return false;
-}