Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Basthon
Basthon Notebook
Commits
8416daa8
Commit
8416daa8
authored
Nov 02, 2020
by
Romain Casati
Browse files
Loader hide after notebook loaded.
parent
0ffa70b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
notebook/basthon/gui.js
View file @
8416daa8
...
...
@@ -10,7 +10,7 @@ window.basthonGUI = (function () {
* Initialise the GUI (Basthon part).
*/
that
.
init
=
async
function
()
{
await
Basthon
.
Goodies
.
showLoader
(
"
Chargement de Basthon-Notebook...
"
);
await
Basthon
.
Goodies
.
showLoader
(
"
Chargement de Basthon-Notebook...
"
,
false
);
that
.
notebook
=
Jupyter
.
notebook
;
// avoiding notebook loading failure.
...
...
@@ -35,7 +35,9 @@ window.basthonGUI = (function () {
if
(
!
window
.
basthonEmptyNotebook
&&
!
await
that
.
loadFromQS
()
)
{
that
.
notebook
.
loadFromStorage
();
}
Basthon
.
Goodies
.
hideLoader
();
/* saving to storage on multiple events */
for
(
let
event
of
[
'
execute.CodeCell
'
,
'
finished_execute.CodeCell
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment