From f7bb50cc961dfa5d55c292a99eb11b42d88f0c81 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 1 Sep 2016 02:53:53 +0100 Subject: [PATCH] Style changes according to standard --- src/app/ui-helper.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/ui-helper.js b/src/app/ui-helper.js index 2ba4cb464d..6433e56655 100644 --- a/src/app/ui-helper.js +++ b/src/app/ui-helper.js @@ -103,7 +103,11 @@ module.exports = { if (data.creation === undefined && data.external === undefined && data.internal === undefined) { return; } - var gasToText = function (g) { return g === null ? 'unknown' : g; }; + + var gasToText = function (g) { + return g === null ? 'unknown' : g; + }; + var text = ''; var fun; if ('creation' in data) { @@ -156,7 +160,10 @@ module.exports = { } 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]) { details.show(); }