aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-18 09:28:08 +0200
committerChocobozzz <me@florianbigard.com>2018-06-18 10:26:18 +0200
commitb7f1747dc75171368df6ea2ab298971a33af56ed (patch)
treea217c842c6b5502d1d14e5c10eed916820de304f /client/src/app/app.module.ts
parent80d7cf3a15c533d43e7e7f7a240d0eb89640e1c3 (diff)
downloadPeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.tar.gz
PeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.tar.zst
PeerTube-b7f1747dc75171368df6ea2ab298971a33af56ed.zip
Create webtorrent client on player load
So we don't run Angular change detection every 250ms on webtorrent import, when https://github.com/mafintosh/speedometer/pull/7 will be merged
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r--client/src/app/app.module.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 51e354378..003c91009 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -16,7 +16,7 @@ import { MenuComponent } from './menu'
16import { SharedModule } from './shared' 16import { SharedModule } from './shared'
17import { SignupModule } from './signup' 17import { SignupModule } from './signup'
18import { VideosModule } from './videos' 18import { VideosModule } from './videos'
19import { buildFileLocale, getCompleteLocale, getDefaultLocale, isDefaultLocale } from '../../../shared/models/i18n' 19import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '../../../shared/models/i18n'
20import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils' 20import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils'
21 21
22export function metaFactory (serverService: ServerService): MetaLoader { 22export function metaFactory (serverService: ServerService): MetaLoader {