File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ w.OPEN_FORM = web_path + 'open.html';
2828w . mxLoadStylesheets = false ; // disable loading stylesheets
2929w . mxLoadResources = false ;
3030
31- /* This is a typing-only commit . If you use it directly, the mxgraph content
31+ /* This is a typing-only import . If you use it directly, the mxgraph content
3232 will be included in the main JupyterLab js bundle.
3333*/
3434import * as MXModuleType from './mxgraph/javascript/examples/grapheditor/www/modulated.js' ;
@@ -242,6 +242,9 @@ namespace Private {
242242 let _mx : typeof MXModuleType ;
243243 let _mxLoading : PromiseDelegate < MX > ;
244244
245+ /**
246+ * Asynchronously load the mx bundle, or return it if already available
247+ */
245248 export async function ensureMx ( ) : Promise < MX > {
246249 if ( _mx )
247250 {
You can’t perform that action at this time.
0 commit comments