Commit f7bb50cc authored by Alex Beregszaszi's avatar Alex Beregszaszi

Style changes according to standard

parent 244bc34e
...@@ -103,7 +103,11 @@ module.exports = { ...@@ -103,7 +103,11 @@ module.exports = {
if (data.creation === undefined && data.external === undefined && data.internal === undefined) { if (data.creation === undefined && data.external === undefined && data.internal === undefined) {
return; return;
} }
var gasToText = function (g) { return g === null ? 'unknown' : g; };
var gasToText = function (g) {
return g === null ? 'unknown' : g;
};
var text = ''; var text = '';
var fun; var fun;
if ('creation' in data) { if ('creation' in data) {
...@@ -156,7 +160,10 @@ module.exports = { ...@@ -156,7 +160,10 @@ module.exports = {
} }
var self = this; var self = this;
button.click(function () { self.detailsOpen[contractName] = !self.detailsOpen[contractName]; details.toggle(); }); button.click(function () {
self.detailsOpen[contractName] = !self.detailsOpen[contractName];
details.toggle();
});
if (this.detailsOpen[contractName]) { if (this.detailsOpen[contractName]) {
details.show(); details.show();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment