diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/linkifier.service.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/linkifier.service.ts | 6 |
1 files changed, 3 insertions, 3 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 3f4072efd..9ad419a69 100644 --- a/client/src/app/videos/+video-watch/comment/linkifier.service.ts +++ b/client/src/app/videos/+video-watch/comment/linkifier.service.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { getAbsoluteAPIUrl } from '@app/shared/misc/utils' | 2 | import { getAbsoluteAPIUrl } from '@app/shared/misc/utils' |
3 | import * as linkify from 'linkifyjs' | 3 | const linkify = require('linkifyjs') |
4 | import * as linkifyHtml from 'linkifyjs/html' | 4 | const linkifyHtml = require('linkifyjs/html') |
5 | 5 | ||
6 | @Injectable() | 6 | @Injectable() |
7 | export class LinkifierService { | 7 | export class LinkifierService { |
@@ -40,7 +40,7 @@ export class LinkifierService { | |||
40 | const TT_UNDERSCORE = TT.UNDERSCORE | 40 | const TT_UNDERSCORE = TT.UNDERSCORE |
41 | const TT_DOT = TT.DOT | 41 | const TT_DOT = TT.DOT |
42 | 42 | ||
43 | function MENTION (value) { | 43 | function MENTION (value: any) { |
44 | this.v = value | 44 | this.v = value |
45 | } | 45 | } |
46 | 46 | ||