Added a 'set' method to change window settings for external applications

This commit is contained in:
obscuren
2014-05-01 22:59:16 +02:00
parent 76cd14ab7b
commit 9e481804a7
3 changed files with 12 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ function createTransaction() {
}
function init() {
eth.set({width: 500, title: "Hello world"})
eth.getKey(function(key) {
eth.getStorageAt(jefcoinAddr, key, function(storage) {
document.querySelector("#current-amount").innerHTML = storage;