Skip to content

Commit c411a10

Browse files
committed
some docs tweaks
1 parent e75b097 commit c411a10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/editor.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ w.OPEN_FORM = web_path + 'open.html';
2828
w.mxLoadStylesheets = false; // disable loading stylesheets
2929
w.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
*/
3434
import * 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
{

0 commit comments

Comments
 (0)