mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 22:05:08 +00:00
20 lines
345 B
JavaScript
20 lines
345 B
JavaScript
'use strict';
|
|
|
|
define([
|
|
'react',
|
|
'../terminal',
|
|
'templates/app/components/terminal/test/index'
|
|
], function(React, TerminalComponent, template) {
|
|
template = template.locals({
|
|
Terminal: TerminalComponent
|
|
});
|
|
return React.createClass({
|
|
getInitialState: function() {
|
|
return {
|
|
lines: [1, 2, 3]
|
|
};
|
|
},
|
|
render: template
|
|
});
|
|
});
|