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';
28
28
w . mxLoadStylesheets = false ; // disable loading stylesheets
29
29
w . mxLoadResources = false ;
30
30
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
32
32
will be included in the main JupyterLab js bundle.
33
33
*/
34
34
import * as MXModuleType from './mxgraph/javascript/examples/grapheditor/www/modulated.js' ;
@@ -242,6 +242,9 @@ namespace Private {
242
242
let _mx : typeof MXModuleType ;
243
243
let _mxLoading : PromiseDelegate < MX > ;
244
244
245
+ /**
246
+ * Asynchronously load the mx bundle, or return it if already available
247
+ */
245
248
export async function ensureMx ( ) : Promise < MX > {
246
249
if ( _mx )
247
250
{
You can’t perform that action at this time.
0 commit comments