<commit_before>import ATV from 'atvjs';

import template from './template.hbs';

let Page = ATV.Page.create({
	name: 'list-games',
    template: template,
    ready(options, resolve, reject) {
        ATV.Navigation.showLoading("Loading Games…");
        let heheGames = 'http://hehestreams.xyz/api/v1/nba/games?date=2016-11-05';
        ATV
        .Ajax
        .get(heheGames, {headers : ATV.Settings.get("header")})
        .then((xhr) => {
            let response = xhr.response;
            resolve({
                data: response
            });
        }, (xhr) => {<commit_msg>Remove hard code of date while testing<commit_after>import ATV from 'atvjs';

import template from './template.hbs';

let Page = ATV.Page.create({
	name: 'list-games',
    template: template,
    ready(options, resolve, reject) {
        ATV.Navigation.showLoading("Loading Games…");
        let heheGames = 'http://hehestreams.xyz/api/v1/nba/games';
        ATV
        .Ajax
        .get(heheGames, {headers : ATV.Settings.get("header")})
        .then((xhr) => {
            let response = xhr.response;
            resolve({
                data: response
            });
        }, (xhr) => {
{'fraction_non_alphanumeric': 0.14852320675105485, 'fraction_numerical': 0.008438818565400843, 'mean_word_length': 2.1128608923884515, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3608946', 'n_tokens_mistral': 390, 'n_tokens_neox': 374, 'n_words': 78}