nci/static/js/app/components/header/index.js

21 lines
394 B
JavaScript
Raw Normal View History

2015-05-17 13:48:16 +00:00
'use strict';
define([
'react',
'react-router',
2015-06-14 11:24:31 +00:00
'app/components/projects/selector/index',
2015-07-11 18:09:28 +00:00
'templates/app/components/header/index',
'bootstrap/collapse'
2015-06-14 11:24:31 +00:00
], function(React, Router, ProjectsSelector, template) {
2015-05-17 13:48:16 +00:00
template = template.locals({
2015-06-14 11:24:31 +00:00
Link: Router.Link,
ProjectsSelector: ProjectsSelector
2015-05-17 13:48:16 +00:00
});
var Component = React.createClass({
render: template
});
return Component;
});