1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Whitespace

This commit is contained in:
Daniel Heath 2018-01-31 22:38:24 +11:00
parent 1a3e891dfd
commit d65eccbe9d
2 changed files with 1 additions and 4 deletions

View File

@ -224,7 +224,6 @@ $(window).load(function() {
}); });
} }
$("#encryptPage").click(function(e) { $("#encryptPage").click(function(e) {
e.preventDefault(); e.preventDefault();
var passphrase = prompt("Please enter a passphrase. Note: Encrypting will remove all previous history.", ""); 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) { $("#erasePage").click(function(e) {
e.preventDefault(); e.preventDefault();
var r = confirm("Are you sure you want to erase?"); var r = confirm("Are you sure you want to erase?");
@ -244,7 +242,6 @@ $(window).load(function() {
} }
}); });
$("#selfDestructPage").click(function(e) { $("#selfDestructPage").click(function(e) {
e.preventDefault(); e.preventDefault();
var r = confirm("This will erase the page the next time it is opened, are you sure you want to do that?"); 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) { $("#lockPage").click(function(e) {
e.preventDefault(); e.preventDefault();
var passphrase = prompt("Please enter a passphrase to lock", ""); var passphrase = prompt("Please enter a passphrase to lock", "");

View File

@ -20,6 +20,7 @@ func TestReverseList(t *testing.T) {
t.Errorf("Could not reverse: %v", s2) t.Errorf("Could not reverse: %v", s2)
} }
} }
func TestHashing(t *testing.T) { func TestHashing(t *testing.T) {
p := HashPassword("1234") p := HashPassword("1234")
log.Debug(p) log.Debug(p)