Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
f95a635d
Commit
f95a635d
authored
Aug 18, 2021
by
Jonathan Wilkes
Browse files
Merge branch 'prakhar/purr-data-rem_midi_alert' into emscripten
parents
fd4165ad
73d7ce90
Pipeline
#3719
canceled with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/index.html
View file @
f95a635d
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
WebMidi
.
enable
(
function
(
err
)
{
WebMidi
.
enable
(
function
(
err
)
{
if
(
err
)
{
if
(
err
)
{
// if the browser doesn't support web midi, one can still use pd without it
// if the browser doesn't support web midi, one can still use pd without it
alert
(
"
The Web MIDI API is not supported in this browser.
\n
Please check: https://github.com/djipco/webmidi#browser-support
"
);
//
alert("The Web MIDI API is not supported in this browser.\nPlease check: https://github.com/djipco/webmidi#browser-support");
console
.
error
(
"
Midi: failed to enable midi
"
,
err
);
console
.
error
(
"
Midi: failed to enable midi
"
,
err
);
}
else
{
}
else
{
isWebMidiSupported
=
true
;
isWebMidiSupported
=
true
;
...
...
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