<commit_before>//
//  AppDelegate.swift
//  BrowserTV
//
//  Created by <NAME> on 12/18/15.
//  Copyright © 2015 <NAME>. All rights reserved.
//

import UIKit

var store = MainStore(
    reducer: MainReducer([BrowserReducer()]),
    appState: AppState()
)

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        store.dispatch(Action(ActionKind.LoadState.rawValue))
        return true
    }

    func applicationWillResignActive(application: UIApplication) {
        store.dispatch(Action(ActionKind.SaveState.rawValue))<commit_msg>Obviously disable idle timer<commit_after>//
//  AppDelegate.swift
//  BrowserTV
//
//  Created by <NAME> on 12/18/15.
//  Copyright © 2015 <NAME>. All rights reserved.
//

import UIKit

var store = MainStore(
    reducer: MainReducer([BrowserReducer()]),
    appState: AppState()
)

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        application.idleTimerDisabled = true
        store.dispatch(Action(ActionKind.LoadState.rawValue))
        return true
    }

    func applicationWillResignActive(application: UIApplication) {
        store.dispatch(Action(ActionKind.SaveState.rawValue))
{'fraction_non_alphanumeric': 0.107095046854083, 'fraction_numerical': 0.013386880856760375, 'mean_word_length': 3.9177631578947367, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2237382', 'n_tokens_mistral': 456, 'n_tokens_neox': 419, 'n_words': 98}