<commit_before>//
//  AppDelegate.m
//  Air Hockey
//
//  Created by <NAME> on 7/26/13.
//  Copyright (c) 2013 <NAME>. All rights reserved.
//

#import "AppDelegate.h"

#import "SharkengineOpenGLView.h"

@implementation AppDelegate

@synthesize window;
@synthesize openGLView;

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  [self.window setAcceptsMouseMovedEvents:YES];
  [self.window setDelegate:self.openGLView];
}

@end<commit_msg>[OSX] Kill the game when the window is closed.<commit_after>//
//  AppDelegate.m
//  Air Hockey
//
//  Created by <NAME> on 7/26/13.
//  Copyright (c) 2013 <NAME>. All rights reserved.
//

#import "AppDelegate.h"

#import "SharkengineOpenGLView.h"

@implementation AppDelegate

@synthesize window;
@synthesize openGLView;

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  [self.window setAcceptsMouseMovedEvents:YES];
  [self.window setDelegate:self.openGLView];
}

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication {
  return YES;
}

@end
{'fraction_non_alphanumeric': 0.13063909774436092, 'fraction_numerical': 0.016917293233082706, 'mean_word_length': 4.819672131147541, 'pattern_counts': {'":': 0, '<': 7, '<?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': '133188', 'n_tokens_mistral': 383, 'n_tokens_neox': 348, 'n_words': 77}