Merge pull request #13026 from Snuffleupagus/crypto-classes
Convert code in `src/core/crypto.js` to use "normal" classes
This commit is contained in:
commit
55786a4880
File diff suppressed because it is too large
Load Diff
@ -884,9 +884,12 @@ function isArrayEqual(arr1, arr2) {
|
|||||||
if (arr1.length !== arr2.length) {
|
if (arr1.length !== arr2.length) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return arr1.every(function (element, index) {
|
for (let i = 0, ii = arr1.length; i < ii; i++) {
|
||||||
return element === arr2[index];
|
if (arr1[i] !== arr2[i]) {
|
||||||
});
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getModificationDate(date = new Date()) {
|
function getModificationDate(date = new Date()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user