From 66f490ff1752bdcababd51b9af52bdf79688afec Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Tue, 21 Oct 2008 15:16:49 +0200 Subject: [PATCH] HTMLviews: various cleanups --- html/GitX.js | 1 - html/commit.js | 3 +-- html/diff.html | 16 +++++++++------- html/diffHighlighter.js | 21 ++++++--------------- 4 files changed, 16 insertions(+), 25 deletions(-) diff --git a/html/GitX.js b/html/GitX.js index 4663664..419e8b5 100644 --- a/html/GitX.js +++ b/html/GitX.js @@ -6,7 +6,6 @@ */ function $(element) { - Controller.log_("Calling _"); return document.getElementById(element); } diff --git a/html/commit.js b/html/commit.js index e8d4b10..1dcf2e5 100644 --- a/html/commit.js +++ b/html/commit.js @@ -68,8 +68,7 @@ var gistie = function() { // TODO: Replace true with private preference token = Controller.getConfig_("github.token"); login = Controller.getConfig_("github.user"); - if (token && login) - { + if (token && login) { parameters.login = login; parameters.token = token; } else { diff --git a/html/diff.html b/html/diff.html index 26c262a..1c856cf 100644 --- a/html/diff.html +++ b/html/diff.html @@ -9,24 +9,26 @@