From 3484515283ed39d2769ec19653dc5d14be6c6e12 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 5 Apr 2017 10:44:14 +0200 Subject: [PATCH] enable more tests --- www/examples/pin/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/examples/pin/main.js b/www/examples/pin/main.js index 9a4ad1f08..0f2449f3b 100644 --- a/www/examples/pin/main.js +++ b/www/examples/pin/main.js @@ -26,7 +26,7 @@ define([ } console.log(msg); }); -/* + var list = Cryptpad.getUserChannelList(); if (list.length) { call.getFileSize(list[0], function (e, msg) { @@ -40,7 +40,7 @@ define([ if (e) { return void console.error(e); } console.log("%s total bytes used", bytes); }); -*/ + call.getServerHash(function (e, hash) { if (e) { return void console.error(e); } console.log("the server believes your user hash is [%s]", hash);