aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/ext/ethereum.js
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets/ext/ethereum.js')
-rw-r--r--ethereal/assets/ext/ethereum.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/ethereal/assets/ext/ethereum.js b/ethereal/assets/ext/ethereum.js
index 03b25179b..fb8bd23a7 100644
--- a/ethereal/assets/ext/ethereum.js
+++ b/ethereal/assets/ext/ethereum.js
@@ -4,6 +4,16 @@ window.eth = {
_callbacks: {},
_onCallbacks: {},
+ test: function() {
+ var t = undefined;
+ navigator.qt.onmessage = function(d) { t = d; }
+ for(;;) {
+ if(t !== undefined) {
+ return t
+ }
+ }
+ },
+
mutan: function(code) {
},