{"size": 722, "ext": "js", "max_stars_repo_path": "app/main.js", "max_stars_repo_name": "kag17/super-cinema", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/main.js", "max_issues_repo_name": "kag17/super-cinema", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/main.js", "max_forks_repo_name": "kag17/super-cinema", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.8181818182, "max_line_length": 82, "alphanum_fraction": 0.6509695291}
import React from "react"
import React_dom from "react-dom"
import { Router, Route, browserHistory, IndexRoute } from "react-router"
import store from "./redux"
import { Provider } from "react-redux"

import Base from "./templates/base"
import MoviePage from "./templates/movie"
import Container from "./container"

//Render frontend pages
React_dom.render((
    <Provider store={store}>
      <Router onUpdate={() => window.scrollTo(0, 0)} history = { browserHistory }>
        <Route path="/" component = { Base } />
        <Route path="/" component = { Container }>
          <Route path="/movie/:id" component = { MoviePage } />
        </Route>
      </Router>
    </Provider>
  ), document.getElementById('root')
);