From d65eccbe9df31beb20a87e17e64429dd360e005d Mon Sep 17 00:00:00 2001 From: Daniel Heath Date: Wed, 31 Jan 2018 22:38:24 +1100 Subject: [PATCH] Whitespace --- static/js/cowyo.js | 4 ---- utils_test.go | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/cowyo.js b/static/js/cowyo.js index 7522c31..e850038 100644 --- a/static/js/cowyo.js +++ b/static/js/cowyo.js @@ -224,7 +224,6 @@ $(window).load(function() { }); } - $("#encryptPage").click(function(e) { e.preventDefault(); var passphrase = prompt("Please enter a passphrase. Note: Encrypting will remove all previous history.", ""); @@ -233,7 +232,6 @@ $(window).load(function() { } }); - $("#erasePage").click(function(e) { e.preventDefault(); var r = confirm("Are you sure you want to erase?"); @@ -244,7 +242,6 @@ $(window).load(function() { } }); - $("#selfDestructPage").click(function(e) { e.preventDefault(); var r = confirm("This will erase the page the next time it is opened, are you sure you want to do that?"); @@ -255,7 +252,6 @@ $(window).load(function() { } }); - $("#lockPage").click(function(e) { e.preventDefault(); var passphrase = prompt("Please enter a passphrase to lock", ""); diff --git a/utils_test.go b/utils_test.go index 29dc9aa..6f363df 100755 --- a/utils_test.go +++ b/utils_test.go @@ -20,6 +20,7 @@ func TestReverseList(t *testing.T) { t.Errorf("Could not reverse: %v", s2) } } + func TestHashing(t *testing.T) { p := HashPassword("1234") log.Debug(p)