diff options
author | BO41 <lukasw41@gmail.com> | 2018-10-24 21:50:18 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-10-24 21:50:18 +0200 |
commit | 951ef8294e9eae8f0b42292059daf0c972dbc48f (patch) | |
tree | e2c62acffe0f4293d7f6f556cb1fc67b67478bbd /client/src/app | |
parent | fa27f07637dd941577ab78de528cbef044b46248 (diff) | |
download | PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.tar.gz PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.tar.zst PeerTube-951ef8294e9eae8f0b42292059daf0c972dbc48f.zip |
add noImplicitThis flag (#1324)
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/linkifier.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/linkifier.service.ts b/client/src/app/videos/+video-watch/comment/linkifier.service.ts index 4f4ec1e5d..2529c9eaf 100644 --- a/client/src/app/videos/+video-watch/comment/linkifier.service.ts +++ b/client/src/app/videos/+video-watch/comment/linkifier.service.ts | |||
@@ -41,7 +41,7 @@ export class LinkifierService { | |||
41 | const TT_UNDERSCORE = TT.UNDERSCORE | 41 | const TT_UNDERSCORE = TT.UNDERSCORE |
42 | const TT_DOT = TT.DOT | 42 | const TT_DOT = TT.DOT |
43 | 43 | ||
44 | function MENTION (value: any) { | 44 | function MENTION (this: any, value: any) { |
45 | this.v = value | 45 | this.v = value |
46 | } | 46 | } |
47 | 47 | ||
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 65b974037..dda870905 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -435,7 +435,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
435 | 435 | ||
436 | const self = this | 436 | const self = this |
437 | this.zone.runOutsideAngular(async () => { | 437 | this.zone.runOutsideAngular(async () => { |
438 | videojs(this.playerElement, videojsOptions, function () { | 438 | videojs(this.playerElement, videojsOptions, function (this: videojs.Player) { |
439 | self.player = this | 439 | self.player = this |
440 | this.on('customError', ({ err }: { err: any }) => self.handleError(err)) | 440 | this.on('customError', ({ err }: { err: any }) => self.handleError(err)) |
441 | 441 | ||