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

22 lines
435 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',
'app/components/console/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,
BuildsList: Builds.List,
Console: Console.Console
2015-05-03 23:04:51 +00:00
});
}
});
return Component;
});