mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 01:45:09 +00:00
22 lines
510 B
JavaScript
22 lines
510 B
JavaScript
'use strict';
|
|
|
|
define([
|
|
'react', 'app/actions/build', 'templates/app/components/builds/item',
|
|
'app/components/common/index'
|
|
], function(React, BuildActions, template, CommonComponents) {
|
|
template = template.locals({
|
|
DateTime: CommonComponents.DateTime
|
|
});
|
|
console.log(CommonComponents.DateTime);
|
|
|
|
var Component = React.createClass({
|
|
onBuildSelect: function(buildId) {
|
|
console.log('on build select');
|
|
BuildActions.readConsoleOutput(buildId);
|
|
},
|
|
render: template
|
|
});
|
|
|
|
return Component;
|
|
});
|