Preload fonts, load scripts after body

This commit is contained in:
Fedor Indutny 2022-05-31 14:42:18 -07:00 committed by GitHub
parent 8b9543aa67
commit a88560183b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 59 deletions

View file

@ -186,7 +186,7 @@ export function freezeSignedPreKey(
// We add a this parameter to avoid an 'implicit any' error on the next line
const EventsMixin = function EventsMixin(this: unknown) {
window._.assign(this, window.Backbone.Events);
Object.assign(this, window.Backbone.Events);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} as any as typeof window.Backbone.EventsMixin;