nci/static/js/app/components/terminal/test/index.js
2015-11-18 23:14:46 +03:00

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
});
});