##// END OF EJS Templates
Basic infrastructure for new texteditor component
Basic infrastructure for new texteditor component

File last commit:

r19010:3314d31f
r19010:3314d31f
Show More
main.js
23 lines | 459 B | application/javascript | JavascriptLexer
// Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
require([
'jquery',
'base/js/utils',
'base/js/page',
'codemirror/lib/codemirror',
'custom/custom',
], function(
$,
utils,
page,
CodeMirror
){
page = new page.Page();
var base_url = utils.get_body_data('baseUrl');
var cm_instance = CodeMirror($('#texteditor-container')[0]);
page.show();
});