<commit_before>/**
 * Copyright (c) 2015-present, Viro, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';

import {
  ViroScene,
  ViroBox,
  ViroDirectionalLight,
  Viro360Image,
  ViroMaterials,
  Viro3DObject,
  ViroAnimations,
  ViroImage,
  ViroText,
  ViroAnimatedComponent,
  Viro360Video,
} from 'react-viro';

var scene_ios_test = React.createClass({
    render: function() {
    return (
        <ViroScene>
          <ViroDirectionalLight color="#ffffff" direction={[0, 0, -1.0]} />
          <Viro360Video source={{uri: "https://s3-us-west-2.amazonaws.com/viro/360_surf.mp4"}} onLoadStart={this._onLoadStart("Start")} onLoadEnd={this._onLoadEnd("End")} rotation={[0,0,0]} />
          <ViroText style={styles.baseText} position={[0,0, -8]} text="Testing!!!" />
          <ViroImage width={5.0} height={10.0} position={[6, .1, -8.1]} rotation={[0, 0, 0]} source={{uri: "http://wiki.magicc.org/images/c/ce/MAGICC_logo_small.jpg"}} />
          <ViroText style={{fontFamily: 'Helvetica-Bold', fontSize:10, textAlign:'center', textAlignVertical:'bottom', textClipMode:'cliptobounds', color:'#ff0000'}} text="Canada is the NYTimes place to visit this year. With it's beautiful cities and epic landscapes, our neighbor up north is full of splendor and adventure. Plus their president is cool :)."  width={5.0} height={10.0} position={[6, .1, -8]} rotation={[0, 0, 0]} />
          <ViroText style={{fontFamily: 'Helvetica-Bold', fontSize:12, textAlign:'left'}} text="Rotated Bold underlined Helvetica up in here!" width={5.0} position={[-3, .1, -8]} rotation={[0, -25, 0]} />
          <ViroText style={styles.baseText} position={[0,-1, -8]} text="Longer text that is within 1 thingy" />
          <ViroText style={styles.baseTextTwo} width={10.0} position={[0,1.5, -8]} text="Testing same text different width and length up in here. Know what I mean?" />
          <Viro3DObject source={require('./res/male02_obj.obj')}
                          resources={[require('./res/male02.mtl'),
                                      require('./res/01_-_Default1noCulling.JPG'),
                                      require('./res/male-02-1noCulling.JPG'),
                                      require('./res/orig_02_-_Defaul1noCulling.JPG')]}
                          position={[-0.0, -100, -10]}
                          scale={[0.1, 0.1, 0.1]}
                          onLoadStart={this._onLoadObjStart}
                          onLoadEnd={this._onLoadObjEnd}
                           /><commit_msg>Fix yellow warning in scene_ios_test<commit_after>/**
 * Copyright (c) 2015-present, Viro, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';

import {
  ViroScene,
  ViroBox,
  ViroDirectionalLight,
  Viro360Image,
  ViroMaterials,
  Viro3DObject,
  ViroAnimations,
  ViroImage,
  ViroText,
  ViroAnimatedComponent,
  Viro360Video,
} from 'react-viro';

var scene_ios_test = React.createClass({
    render: function() {
    return (
        <ViroScene>
          <ViroDirectionalLight color="#ffffff" direction={[0, 0, -1.0]} />
          <Viro360Video source={{uri: "https://s3-us-west-2.amazonaws.com/viro/360_surf.mp4"}} onLoadStart={this._onLoadStart("Start")} onLoadEnd={this._onLoadEnd("End")} rotation={[0,0,0]} />
          <ViroText style={styles.baseText} position={[0,0, -8]} text="Testing!!!" />
          <ViroImage width={5.0} height={10.0} position={[6, .1, -8.1]} rotation={[0, 0, 0]} source={{uri: "http://wiki.magicc.org/images/c/ce/MAGICC_logo_small.jpg"}} />
          <ViroText style={{fontFamily: 'Helvetica-Bold', fontSize:10, textAlign:'center', textAlignVertical:'bottom', textClipMode:'clipToBounds', color:'#ff0000'}} text="Canada is the NYTimes place to visit this year. With it's beautiful cities and epic landscapes, our neighbor up north is full of splendor and adventure. Plus their president is cool :)."  width={5.0} height={10.0} position={[6, .1, -8]} rotation={[0, 0, 0]} />
          <ViroText style={{fontFamily: 'Helvetica-Bold', fontSize:12, textAlign:'left'}} text="Rotated Bold underlined Helvetica up in here!" width={5.0} position={[-3, .1, -8]} rotation={[0, -25, 0]} />
          <ViroText style={styles.baseText} position={[0,-1, -8]} text="Longer text that is within 1 thingy" />
          <ViroText style={styles.baseTextTwo} width={10.0} position={[0,1.5, -8]} text="Testing same text different width and length up in here. Know what I mean?" />
          <Viro3DObject source={require('./res/male02_obj.obj')}
                          resources={[require('./res/male02.mtl'),
                                      require('./res/01_-_Default1noCulling.JPG'),
                                      require('./res/male-02-1noCulling.JPG'),
                                      require('./res/orig_02_-_Defaul1noCulling.JPG')]}
                          position={[-0.0, -100, -10]}
                          scale={[0.1, 0.1, 0.1]}
                          onLoadStart={this._onLoadObjStart}
                          onLoadEnd={this._onLoadObjEnd}
                           />
{'fraction_non_alphanumeric': 0.15255128879537086, 'fraction_numerical': 0.03787480273540242, 'mean_word_length': 2.7159609120521173, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '639482', 'n_tokens_mistral': 1908, 'n_tokens_neox': 1809, 'n_words': 440}