<commit_before>/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  Navigator,
  Platform,
} from 'react-native';

var Realm = require('realm');

var logger = require('./app/util/logger');
var AppSettings = require('./app/AppSettings');
var Home = require('./app/views/Home');
var SurfReport = require('./app/views/SurfReport');
var EventDetail = require('./app/views/EventDetail');
var TopStoriesDetail = require('./app/views/TopStoriesDetail');
var ShuttleStop = require('./app/views/ShuttleStop');
var DestinationSearch = require('./app/views/DestinationSearch');
var DestinationDetail = require('./app/views/DestinationDetail');

var nowucsandiego = React.createClass({

	realm: null,
	AppSettings: null,

	componentWillMount: function() {

		// Realm DB Setup
		this.realm = new Realm({schema: [AppSettings.DB_SCHEMA], schemaVersion: 2});
		this.AppSettings = this.realm.objects('AppSettings');

		if (this.AppSettings.length === 0) {
			this.realm.write(() => {
				this.realm.create('AppSettings', { id: 1 });
			});
		}
	},

  render: function() {<commit_msg>Fix path for EventDetail view<commit_after>/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  Navigator,
  Platform,
} from 'react-native';

var Realm = require('realm');

var logger = require('./app/util/logger');
var AppSettings = require('./app/AppSettings');
var Home = require('./app/views/Home');
var SurfReport = require('./app/views/SurfReport');
var EventDetail = require('./app/views/events/EventDetail');
var TopStoriesDetail = require('./app/views/TopStoriesDetail');
var ShuttleStop = require('./app/views/ShuttleStop');
var DestinationSearch = require('./app/views/DestinationSearch');
var DestinationDetail = require('./app/views/DestinationDetail');

var nowucsandiego = React.createClass({

	realm: null,
	AppSettings: null,

	componentWillMount: function() {

		// Realm DB Setup
		this.realm = new Realm({schema: [AppSettings.DB_SCHEMA], schemaVersion: 2});
		this.AppSettings = this.realm.objects('AppSettings');

		if (this.AppSettings.length === 0) {
			this.realm.write(() => {
				this.realm.create('AppSettings', { id: 1 });
			});
		}
	},

  render: function() {
{'fraction_non_alphanumeric': 0.17085641244141458, 'fraction_numerical': 0.0025564550489987218, 'mean_word_length': 4.537735849056604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5784063', 'n_tokens_mistral': 764, 'n_tokens_neox': 723, 'n_words': 156}