parent
f9509cc8b8
commit
0826bf75d1
@ -18,6 +18,7 @@
|
|||||||
// TODO: Fix linting issues
|
// TODO: Fix linting issues
|
||||||
|
|
||||||
if (typeof(window.parity) == 'object')
|
if (typeof(window.parity) == 'object')
|
||||||
|
window.api = window.parent.secureApi;
|
||||||
window.parity.api.subscribe('eth_blockNumber', function (error, blockNumber) {
|
window.parity.api.subscribe('eth_blockNumber', function (error, blockNumber) {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.log('error', error);
|
console.log('error', error);
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
"description": "A Javascript development console complete with web3 and parity objects.",
|
"description": "A Javascript development console complete with web3 and parity objects.",
|
||||||
"version": "0.3",
|
"version": "0.3",
|
||||||
"author": "Gav Wood <gavin@ethcore.io>",
|
"author": "Gav Wood <gavin@ethcore.io>",
|
||||||
"visible": true
|
"visible": true,
|
||||||
|
"secure": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user