content: import React from 'react';
  import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
  import ReactDOM from 'react-dom';
  import {
  	Container,
  	createApp,
  	UI,
  	View,
  	ViewManager
  } from 'touchstonejs';
  
  // App Config
  // ------------------------------
  
  const images = [
      { 
          imageUrl: "img/gallery/1.png",
          soundUrl: "/android_asset/www/audio/1.mp3",
          title: "0"
      },
      { 
          imageUrl: "img/gallery/1.png",
          soundUrl: "/android_asset/www/audio/1.mp3",
          title: "1"
      },
      { 
          imageUrl: "img/gallery/1.png",
          soundUrl: "/android_asset/www/audio/1.mp3",
          title: "2"
      }
  ]
  var App = React.createClass({
  	mixins: [createApp()],
  
  	childContextTypes: {
  		peopleStore: React.PropTypes.object
  	},
  
  	getChildContext () {
  		return {
  			
  		};
  	},
  
  	componentDidMount () {
  		// Hide the splash screen when the app is mounted
  		if (navigator.splashscreen) {
  			navigator.splashscreen.hide();
  		}
  	},
      
      buildImageView (images) {
          return images.map(function(image, index){
              return <View galleryLength={images.length} key={index} viewKey={index} name={"image-" + index} image={image} component={require('./views/transitions')} />;
          });
      },
      
      
  	render () {
  		let appWrapperClassName = 'app-wrapper device--' + (window.device || {}).platform
  
  		return (
  			<div className={appWrapperClassName}>
  				<div className="device-silhouette">
  					<Container>
  						<ViewManager ref="vm" name="app" defaultView="image-0">
                              {this.buildImageView(images)}
  						</ViewManager>
  					</Container>
  				</div>
  			</div>
  		);
  	}
  });
  
  function startApp () {
  	if (window.StatusBar) {
  		window.StatusBar.styleDefault();
  	}
  	ReactDOM.render(<App />, document.getElementById('app'));
  }
  
  if (!window.cordova) {
  	startApp();
  } else {
  	document.addEventListener('deviceready', startApp, false);
  }
  