/**
 * @jsx React.DOM
 */

'use strict';

var React = require('react/addons');
var Router = require('react-router-component');
var Locations = Router.Locations;
var Location = Router.Location;


var Pages = require('./pages.js');

// CSS
require('../styles/reset.css');
require('../styles/bootstrap.css');
require('../styles/main.css');


var App = React.createClass({
  /*jshint ignore:start */
  render: function() {
    return (
      <Locations>
        <Location path="/" handler={Pages.Home} />
        <Location path="/query/" handler={Pages.Search} />
        <Location path="/query/:query" handler={Pages.Search} />
        <Location path="/profile" handler={Pages.Profile} />
        <Location path="/articles/:articleId" handler={Pages.Article} />
        <Location path="/authors/:authorId" handler={Pages.Author} />
      </Locations>
    );
  }
  /*jshint ignore:end */
});

React.renderComponent(<App />, document.getElementById('content')); // jshint ignore:line

module.exports = App;

@@ -20,17 +20,17 @@
 OM%0A */%0A%0A
-'
+%22
 use stri
@@ -31,17 +31,17 @@
 e strict
-'
+%22
 ;%0A%0Avar R
@@ -51,25 +51,25 @@
 t = require(
-'
+%22
 react/addons
@@ -68,17 +68,17 @@
 t/addons
-'
+%22
 );%0Avar R
@@ -93,17 +93,17 @@
 require(
-'
+%22
 react-ro
@@ -116,17 +116,17 @@
 omponent
-'
+%22
 );%0Avar L
@@ -186,16 +186,53 @@
 cation;%0A
+var Cortex = require(%22node-cortex%22);%0A
 %0A%0Avar Pa
@@ -978,17 +978,17 @@
 yId(
-'
+%22
 content
-'
+%22
 )); 

Include Cortex