fixed local without fxa
This commit is contained in:
parent
7130c2e7b0
commit
7d35e8f61f
|
@ -1,4 +1,4 @@
|
||||||
const LOOKUP = [
|
const LOOKUP = Int32Array.from([
|
||||||
0x00000000,
|
0x00000000,
|
||||||
0x77073096,
|
0x77073096,
|
||||||
0xee0e612c,
|
0xee0e612c,
|
||||||
|
@ -255,7 +255,7 @@ const LOOKUP = [
|
||||||
0xc30c8ea1,
|
0xc30c8ea1,
|
||||||
0x5a05df1b,
|
0x5a05df1b,
|
||||||
0x2d02ef8d
|
0x2d02ef8d
|
||||||
];
|
]);
|
||||||
|
|
||||||
module.exports = function crc32(uint8Array, previous) {
|
module.exports = function crc32(uint8Array, previous) {
|
||||||
let crc = previous === 0 ? 0 : ~~previous ^ -1;
|
let crc = previous === 0 ? 0 : ~~previous ^ -1;
|
||||||
|
|
|
@ -99,7 +99,7 @@ export default class User {
|
||||||
}
|
}
|
||||||
|
|
||||||
get loginRequired() {
|
get loginRequired() {
|
||||||
return this.authConfig.fxa_required;
|
return this.authConfig && this.authConfig.fxa_required;
|
||||||
}
|
}
|
||||||
|
|
||||||
async metricId() {
|
async metricId() {
|
||||||
|
|
Loading…
Reference in New Issue