socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit c71bcb20f251869a52dad4e7ca368ee26a0a6f88
parent dabfb2d71b1d72929be916ef95ba99d3f4cd8af2
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 27 Mar 2018 16:04:31 +0200

Disable currently broken code

Diffstat:
Msrc/app/tweet-list/tweet-list.component.ts | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/app/tweet-list/tweet-list.component.ts b/src/app/tweet-list/tweet-list.component.ts @@ -12,11 +12,11 @@ import 'rxjs/add/observable/throw'; import {ToastrService} from 'ngx-toastr'; import {Meta, Title} from '@angular/platform-browser'; import {Lightbox} from '../utils/lightbox'; -import * as linkifyM from 'linkifyjs'; +/*import * as linkifyM from 'linkifyjs'; import hashtagL from 'linkifyjs/plugins/hashtag'; import mentionL from 'linkifyjs/plugins/mention'; hashtagL(linkifyM); -mentionL(linkifyM); +mentionL(linkifyM);*/ @Component({ @@ -115,14 +115,14 @@ export class TweetListComponent implements OnInit { } // TODO use this - private linkifyHash(text: string) { + /*private linkifyHash(text: string) { hashtagL.find(text); - } + }*/ // TODO use this - private linkifyMention(text: string) { + /*private linkifyMention(text: string) { mentionL.find(text); - } + }*/ private sort(arr: (TweetsEntity)[]): (TweetsEntity)[] { const compare = (a, b): number => {