nci/static/js/app/components/app.js

21 lines
406 B
JavaScript
Raw Normal View History

2015-05-03 23:04:51 +00:00
'use strict';
define([
'react',
'app/components/projects/index',
2015-05-07 21:55:40 +00:00
'app/components/builds/index',
2015-05-10 16:53:33 +00:00
'app/components/terminal/index',
2015-05-03 23:04:51 +00:00
'templates/app/components/app'
2015-05-07 21:55:40 +00:00
], function(React, Projects, Builds, Console, template) {
2015-05-03 23:04:51 +00:00
var Component = React.createClass({
render: function() {
return template({
2015-05-07 21:55:40 +00:00
ProjectsList: Projects.List,
2015-05-10 16:53:33 +00:00
BuildsList: Builds.List
2015-05-03 23:04:51 +00:00
});
}
});
return Component;
});