aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/ethereum.js
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-02 04:59:16 +0800
committerobscuren <geffobscura@gmail.com>2014-05-02 04:59:16 +0800
commit9e481804a72ce78792826e215cf3660819bbb18a (patch)
treeacb76bcb9aea49eaefe725585fe607801ec32087 /ethereal/assets/ethereum.js
parent76cd14ab7b2e0d96652ffd63aa08c046294e06d6 (diff)
downloadgo-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.gz
go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.zst
go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.zip
Added a 'set' method to change window settings for external applications
Diffstat (limited to 'ethereal/assets/ethereum.js')
-rw-r--r--ethereal/assets/ethereum.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereal/assets/ethereum.js b/ethereal/assets/ethereum.js
index fd5091bd1..e5dae9248 100644
--- a/ethereal/assets/ethereum.js
+++ b/ethereal/assets/ethereum.js
@@ -71,6 +71,10 @@ window.eth = {
postData({call: "disconnect", args: [address, storageAddrOrCb]});
},
+ set: function(props) {
+ postData({call: "set", args: props});
+ },
+
on: function(event, cb) {
if(eth._onCallbacks[event] === undefined) {
eth._onCallbacks[event] = [];