<commit_before><!--
INSTEAD OF IFRAME....
IF ITS YOUTUBE DO:
<div id="{{'youtube' + article.id}}" class="article-image"></div>
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer' + article.id, {
  videoId: article.imageURL.split("/")[1]; //I will make sure format is youtube/code
});

//PSEUDO CODE
on play button click do {
  if (player.getPlayerState == 1) {    // actual code, 1 means player is playing
    player.pauseVideo();
  } else {
    player.playVideo();
  }
}
}


-->
<img *ngIf="teasedItem.imageURL && (teasedItem.imageURL.indexOf('youtube') !== -1 || teasedItem.imageURL.indexOf('twitch') !== -1)" [src]='image'>
<img *ngIf="!teasedItem.imageURL && type === 'deck'" src="assets/Hearthstone_Square/{{item.heroClass.toLowerCase()}}.jpg">
<img *ngIf="teasedItem.imageURL && teasedItem.imageURL.indexOf('youtube') === -1 && teasedItem.imageURL.indexOf('twitch') === -1" src="{{ teasedItem.imageURL && article.imageURL.indexOf('http') !== -1 ? teasedItem.imageURL : 'assets/images/' + teasedItem.imageURL}}">

<div class="text-container">
    <h4 *ngIf="teasedItem.title" class="title">{{teasedItem.title.slice(0, 50)}}</h4>
    <p *ngIf="teasedItem.author" class="info, b2">{{teasedItem.author.username}} &bull; {{date}}</p>
</div><commit_msg>trust me i didn't revert a bug<commit_after><!--
INSTEAD OF IFRAME....
IF ITS YOUTUBE DO:
<div id="{{'youtube' + article.id}}" class="article-image"></div>
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer' + article.id, {
  videoId: article.imageURL.split("/")[1]; //I will make sure format is youtube/code
});

//PSEUDO CODE
on play button click do {
  if (player.getPlayerState == 1) {    // actual code, 1 means player is playing
    player.pauseVideo();
  } else {
    player.playVideo();
  }
}
}


-->
<img *ngIf="teasedItem.imageURL && (teasedItem.imageURL.indexOf('youtube') !== -1 || teasedItem.imageURL.indexOf('twitch') !== -1)" [src]='image'>
<img *ngIf="!teasedItem.imageURL && type === 'deck'" src="assets/Hearthstone_Square/{{teasedItem.heroClass.toLowerCase()}}.jpg">
<img *ngIf="teasedItem.imageURL && teasedItem.imageURL.indexOf('youtube') === -1 && teasedItem.imageURL.indexOf('twitch') === -1" src="{{ teasedItem.imageURL && article.imageURL.indexOf('http') !== -1 ? teasedItem.imageURL : 'assets/images/' + teasedItem.imageURL}}">

<div class="text-container">
    <h4 *ngIf="teasedItem.title" class="title">{{teasedItem.title.slice(0, 50)}}</h4>
    <p *ngIf="teasedItem.author" class="info, b2">{{teasedItem.author.username}} &bull; {{date}}</p>
</div>
{'fraction_non_alphanumeric': 0.2118873021999228, 'fraction_numerical': 0.010806638363566191, 'mean_word_length': 5.013921113689095, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1678026', 'n_tokens_mistral': 930, 'n_tokens_neox': 906, 'n_words': 179}