jupyter-specta 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/specta_widget.js +2 -1
- package/lib/token.d.ts +1 -0
- package/package.json +1 -1
package/lib/specta_widget.js
CHANGED
|
@@ -35,6 +35,7 @@ export class AppWidget extends Panel {
|
|
|
35
35
|
return this._model;
|
|
36
36
|
}
|
|
37
37
|
addSpinner() {
|
|
38
|
+
var _a;
|
|
38
39
|
const loaderHost = (this._loaderHost = new Widget());
|
|
39
40
|
loaderHost.addClass('specta-loader-host');
|
|
40
41
|
const spinner = document.createElement('div');
|
|
@@ -42,7 +43,7 @@ export class AppWidget extends Panel {
|
|
|
42
43
|
loaderHost.node.appendChild(spinner);
|
|
43
44
|
const text = document.createElement('div');
|
|
44
45
|
text.className = 'specta-loading-indicator-text';
|
|
45
|
-
text.textContent = 'Loading Specta';
|
|
46
|
+
text.textContent = (_a = this._spectaAppConfig.loadingName) !== null && _a !== void 0 ? _a : 'Loading Specta';
|
|
46
47
|
loaderHost.node.appendChild(text);
|
|
47
48
|
this.addWidget(loaderHost);
|
|
48
49
|
}
|
package/lib/token.d.ts
CHANGED