nci/static/js/app/components/app.js
2015-05-08 00:55:40 +03:00

22 lines
435 B
JavaScript

'use strict';
define([
'react',
'app/components/projects/index',
'app/components/builds/index',
'app/components/console/index',
'templates/app/components/app'
], function(React, Projects, Builds, Console, template) {
var Component = React.createClass({
render: function() {
return template({
ProjectsList: Projects.List,
BuildsList: Builds.List,
Console: Console.Console
});
}
});
return Component;
});