/**
 * @jsx React.DOM
 */

'use strict';

var React = require('react');
var {Routes, Route} = require('react-router');

React.renderComponent(
  <Routes location="history">
    <Route name="app" path="/" handler={require('./layouts/Default')}>
      <Route name="home" path="/" handler={require('./pages/Home')} />
      <Route name="privacy" handler={require('./pages/Privacy')} />
    </Route>
  </Routes>,
  document.body
);

/**
 * @jsx React.DOM
 */

'use strict';

var React = require('react');
var {Routes, Route} = require('react-router');

// Export React so the devtools can find it
(window !== window.top ? window.top : window).React = React;

React.renderComponent(
  <Routes location="history">
    <Route name="app" path="/" handler={require('./layouts/Default')}>
      <Route name="home" path="/" handler={require('./pages/Home')} />
      <Route name="privacy" handler={require('./pages/Privacy')} />
    </Route>
  </Routes>,
  document.body
);

Add support of React Dev Tools
Add support of React Dev Tools
