I'm working with brace in html tabs. When I create a new tab, the instance of the old tab becomes disabled, and is not setReadOnly. What's the problem?
JS code
`
import {ListaAbas} from '../model/ListaAbas';
import {AbaView} from '../view/AbaView';
import {Aba} from '../model/Aba';
import {Bind} from '../helpers/Bind';
import {Editor} from '../model/Editor';
import {EditorView} from '../view/EditorView';
import ace from 'brace';
import 'brace/mode/javascript';
import 'brace/theme/chrome';
import 'brace/ext/language_tools';
I'm working with brace in html tabs. When I create a new tab, the instance of the old tab becomes disabled, and is not setReadOnly. What's the problem?
JS code ` import {ListaAbas} from '../model/ListaAbas'; import {AbaView} from '../view/AbaView'; import {Aba} from '../model/Aba'; import {Bind} from '../helpers/Bind'; import {Editor} from '../model/Editor'; import {EditorView} from '../view/EditorView'; import ace from 'brace'; import 'brace/mode/javascript'; import 'brace/theme/chrome'; import 'brace/ext/language_tools';
class AbaController {
}
let abaController = new AbaController(); export function currentInstance() { return abaController; }`