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
9cc9feba
Commit
9cc9feba
authored
Nov 02, 2020
by
Romain Casati
Browse files
Ignoring requirejs errors.
parent
e25df5b3
Pipeline
#358024
passed with stages
in 3 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
notebook/basthon/gui.js
View file @
9cc9feba
...
...
@@ -51,6 +51,8 @@ window.basthonGUI = (function () {
*/
that
.
connectGlobalErrors
=
function
()
{
function
onerror
(
error
)
{
// ignoring requirejs error
if
(
error
.
filename
&&
error
.
filename
.
split
(
'
/
'
).
pop
()
===
'
require.js
'
)
return
;
const
message
=
error
.
message
||
error
.
reason
.
message
||
error
;
that
.
dialog
.
modal
({
notebook
:
that
.
notebook
,
...
...
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