jshint compliance

pull/1/head
ansuz 8 years ago
parent bd9efd7c04
commit 15a67afc75

@ -19,7 +19,7 @@ RPC.create = function (config, cb) {
// load pin-store...
console.log('loading rpc module...');
rpc = function (ctx, msg, respond) {
var rpc = function (ctx, msg, respond) {
switch (msg[0]) {
case 'ECHO':
respond(void 0, msg);

@ -994,15 +994,15 @@ define([
var fo = proxy.fo;
var list = fo.getFilesDataFiles().map(function (href) {
var parsed = Cryptpad.parsePadUrl(href);
var parsed = common.parsePadUrl(href);
if (!parsed || !parsed.hash) { return; }
parsed = Cryptpad.parseHash(parsed.hash);
parsed = common.parseHash(parsed.hash);
var channel = parsed.channel;
if (!channel) { return; }
var hex = Cryptpad.base64ToHex(channel);
var hex = common.base64ToHex(channel);
return hex;
}).filter(function (x) { return x; }).sort();

Loading…
Cancel
Save