{"action":"opened","issue":{"url":"https://api.github.com/repos/TuxedoJS/TuxxWebsite/issues/7","labels_url":"https://api.github.com/repos/TuxedoJS/TuxxWebsite/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/TuxedoJS/TuxxWebsite/issues/7/comments","events_url":"https://api.github.com/repos/TuxedoJS/TuxxWebsite/issues/7/events","html_url":"https://github.com/TuxedoJS/TuxxWebsite/issues/7","id":64313234,"number":7,"title":"Documentation for Router, module isn't imported.","user":{"login":"matiit","id":138194,"avatar_url":"https://avatars.githubusercontent.com/u/138194?v=3","gravatar_id":"","url":"https://api.github.com/users/matiit","html_url":"https://github.com/matiit","followers_url":"https://api.github.com/users/matiit/followers","following_url":"https://api.github.com/users/matiit/following{/other_user}","gists_url":"https://api.github.com/users/matiit/gists{/gist_id}","starred_url":"https://api.github.com/users/matiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiit/subscriptions","organizations_url":"https://api.github.com/users/matiit/orgs","repos_url":"https://api.github.com/users/matiit/repos","events_url":"https://api.github.com/users/matiit/events{/privacy}","received_events_url":"https://api.github.com/users/matiit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T16:31:51Z","updated_at":"2015-03-25T16:31:51Z","closed_at":null,"body":"# http://www.tuxedojs.org/docs/TuxxRouter\r\n\r\nThe last code example on this page is:\r\n\r\n```js\r\n    var React = require('tuxx/React');\r\n    var Route = require('tuxx/Router/Route');\r\n    var NotFoundRoute = require('tuxx/Router/NotFoundRoute');\r\n    var DefaultRoute = require('tuxx/Router/DefaultRoute');\r\n    var NotFound = require('./app/components/routes/NotFound.jsx');\r\n    var Welcome = require('./app/components/Welcome.jsx');\r\n    var rooms = require('./SampleData.js');\r\n    var MessageView = require('./app/components/message/MessageView.jsx');\r\n    var RoomView = require('./app/components/room/RoomView.jsx');\r\n    var DefaultWelcome = require('./app/components/DefaultWelcome.jsx');\r\n\r\n    var routes = (\r\n      <Route name=\"app\" path=\"/\" handler={Welcome}>\r\n        <DefaultRoute handler={DefaultWelcome} />\r\n        <Route name=\"rooms\" path=\"/rooms\" handler={RoomView}>\r\n          <Route name=\"rooms.room\" path=\"/rooms/:roomId\" handler={MessageView} />\r\n        </Route>\r\n        <NotFoundRoute handler={NotFound} />\r\n      </Route>\r\n    );\r\n\r\n    Router.run(routes, function(Handler) {\r\n      React.render(<Handler />, document.getElementById(\"main\"));\r\n    });\r\n```\r\n\r\nIt's all ok except the line \r\n\r\n```\r\n    Router.run(...)\r\n```\r\n\r\nRouter is simply not imported anywhere in this example.\r\n"}}