content: /**
   * Copyright 2013-2015, Facebook, 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 'babel/polyfill';
  import 'todomvc-common';
  import createHashHistory from 'history/lib/createHashHistory';
  import {IndexRoute, Route, Router} from 'react-router';
  import React from 'react';
  import ReactDOM from 'react-dom';
  import ReactRouterRelay from 'react-router-relay';
  import TodoApp from './components/TodoApp';
  import TodoList from './components/TodoList';
  import ViewerQueries from './queries/ViewerQueries';
  
  ReactDOM.render(
    <Router
      createElement={ReactRouterRelay.createElement}
      history={createHashHistory({queryKey: false})}
    >
      <Route
        path="/" component={TodoApp}
        queries={ViewerQueries}>
        <IndexRoute
          component={TodoList}
          queries={ViewerQueries}
          queryParams={['status']}
        />
        <Route
          path=":status" component={TodoList}
          queries={ViewerQueries}
        />
      </Route>
    </Router>,
    document.getElementById('root')
  );
  