Merge branch 'soon'
This commit is contained in:
commit
dcabff7c08
@ -61,7 +61,13 @@ define([
|
|||||||
}
|
}
|
||||||
|
|
||||||
// grab an unused slice of the entropy
|
// grab an unused slice of the entropy
|
||||||
var A = bytes.slice(entropy.used, entropy.used + n);
|
// Note: Internet Explorer doesn't support .slice on Uint8Array
|
||||||
|
var A;
|
||||||
|
if (bytes.slice) {
|
||||||
|
A = bytes.slice(entropy.used, entropy.used + n);
|
||||||
|
} else {
|
||||||
|
A = bytes.subarray(entropy.used, entropy.used + n);
|
||||||
|
}
|
||||||
|
|
||||||
// account for the bytes you used so you don't reuse bytes
|
// account for the bytes you used so you don't reuse bytes
|
||||||
entropy.used += n;
|
entropy.used += n;
|
||||||
|
|||||||
@ -113,7 +113,8 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
var isProxyEmpty = function (proxy) {
|
var isProxyEmpty = function (proxy) {
|
||||||
return Object.keys(proxy).length === 0;
|
var l = Object.keys(proxy).length;
|
||||||
|
return l === 0 || (l === 2 && proxy._events && proxy.on);
|
||||||
};
|
};
|
||||||
|
|
||||||
var setMergeAnonDrive = function () {
|
var setMergeAnonDrive = function () {
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
"whiteboard": "Pizarra",
|
"whiteboard": "Pizarra",
|
||||||
"contacts": "Contactos",
|
"contacts": "Contactos",
|
||||||
"kanban": "Kanban",
|
"kanban": "Kanban",
|
||||||
"drive": "CryptDrive"
|
"drive": "CryptDrive",
|
||||||
|
"todo": "Lista de tareas",
|
||||||
|
"file": "Archivo"
|
||||||
},
|
},
|
||||||
"disconnected": "Desconectado",
|
"disconnected": "Desconectado",
|
||||||
"synchronizing": "Sincronización",
|
"synchronizing": "Sincronización",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user