nci/static/js/app/components/terminal/test/index.js

20 lines
345 B
JavaScript
Raw Normal View History

2015-11-18 20:14:46 +00:00
'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
});
});