12345678910111213141516171819 |
- import { Output } from './../io/output';
- export class OutputTest extends Output {
- constructor () {
- super();
- this.list = [];
- }
- sendOutput (text) {
- const output = ''+text;
- output.split("\n").forEach(t => {
- t = t.replace(/\t/g,' ');
- t = t.replace(/\s/g," ");
- this.list.push(t);
- },this);
-
- }
- }
|