<commit_before>const Vue = require('nativescript-vue/dist/index')
const http = require('http')
const Page = require('ui/page').Page
const StackLayout = require('ui/layouts/stack-layout').StackLayout
const ScrollView = require('ui/scroll-view').ScrollView
const Image = require('ui/image').Image
const Label = require('ui/label').Label
const Button = require('ui/button').Button

Vue.prototype.$http = http

new Vue({
    data: {
        subreddit: '/r/funny',
        page_num: 1,
        last_page: '',
        items: []
    },

    template: `
        <page ref="page">
            <stack-layout>
                <button class="btn btn-primary" :text="subreddit" @tap="chooseSubreddit"></button>
                <list-view :items="items" class="list-group" :templateSelector="templateSelector" separatorColor="red" @itemTap="onItemTap" @loaded="onLoaded" @loadMoreItems="onLoadMoreItems">
                    <template scope="item">
                        <stack-layout orientation="horizontal" class="list-group-item">
                            <image :src="item.image" class="thumb"></image>
                            <stack-layout>
                                <label class="list-group-item-heading" :text="item.title" text-wrap="true"></label>
                                <label class="list-group-item-text" text="The rest of the content" text-wrap="true"></label>
                            </stack-layout>
                        </stack-layout>
                    </template>
                    <template name="page" scope="item">
                        <stack-layout orientation="horizontal" class="list-group-item active">
                            <label :text="item.title"></label>
                        </stack-layout>
                    </template>
                </list-view>
            </stack-layout>
        </page>
    `,

    created() {
        this.fetchItems()
    },
<commit_msg>Undo my test for textWrap vs text-wrap.<commit_after>const Vue = require('nativescript-vue/dist/index')
const http = require('http')
const Page = require('ui/page').Page
const StackLayout = require('ui/layouts/stack-layout').StackLayout
const ScrollView = require('ui/scroll-view').ScrollView
const Image = require('ui/image').Image
const Label = require('ui/label').Label
const Button = require('ui/button').Button

Vue.prototype.$http = http

new Vue({
    data: {
        subreddit: '/r/funny',
        page_num: 1,
        last_page: '',
        items: []
    },

    template: `
        <page ref="page">
            <stack-layout>
                <button class="btn btn-primary" :text="subreddit" @tap="chooseSubreddit"></button>
                <list-view :items="items" class="list-group" :templateSelector="templateSelector" separatorColor="red" @itemTap="onItemTap" @loaded="onLoaded" @loadMoreItems="onLoadMoreItems">
                    <template scope="item">
                        <stack-layout orientation="horizontal" class="list-group-item">
                            <image :src="item.image" class="thumb"></image>
                            <stack-layout>
                                <label class="list-group-item-heading" :text="item.title" textWrap="true"></label>
                                <label class="list-group-item-text" text="The rest of the content" textWrap="true"></label>
                            </stack-layout>
                        </stack-layout>
                    </template>
                    <template name="page" scope="item">
                        <stack-layout orientation="horizontal" class="list-group-item active">
                            <label :text="item.title"></label>
                        </stack-layout>
                    </template>
                </list-view>
            </stack-layout>
        </page>
    `,

    created() {
        this.fetchItems()
    },

{'fraction_non_alphanumeric': 0.14492006188757092, 'fraction_numerical': 0.0005157297576070139, 'mean_word_length': 1.8376005852231163, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '2743143', 'n_tokens_mistral': 1037, 'n_tokens_neox': 1000, 'n_words': 190}