diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-02 04:59:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-02 04:59:16 +0800 |
commit | 9e481804a72ce78792826e215cf3660819bbb18a (patch) | |
tree | acb76bcb9aea49eaefe725585fe607801ec32087 /ethereal/assets/ethereum.js | |
parent | 76cd14ab7b2e0d96652ffd63aa08c046294e06d6 (diff) | |
download | go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.gz go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.bz2 go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.lz go-tangerine-9e481804a72ce78792826e215cf3660819bbb18a.tar.xz 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.js | 4 |
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] = []; |