Browse Source

reinstate window.lab

Steven Silvester 7 years ago
parent
commit
ace0e31e2a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dev_mode/index.js
  2. 1 1
      jupyterlab/staging/index.js

+ 1 - 1
dev_mode/index.js

@@ -16,7 +16,7 @@ require('font-awesome/css/font-awesome.min.css');
  * The main entry point for the application.
  */
 function main() {
-  var app = require('@jupyterlab/application').JupyterLab;
+  var app = window.lab = require('@jupyterlab/application').JupyterLab;
 
   // Get the disabled extensions.
   var disabled = { patterns: [], matches: [] };

+ 1 - 1
jupyterlab/staging/index.js

@@ -16,7 +16,7 @@ require('font-awesome/css/font-awesome.min.css');
  * The main entry point for the application.
  */
 function main() {
-  var app = require('@jupyterlab/application').JupyterLab;
+  var app = window.lab = require('@jupyterlab/application').JupyterLab;
 
   // Get the disabled extensions.
   var disabled = { patterns: [], matches: [] };