|
@@ -9,6 +9,8 @@ import { OpenSheetMusicDisplay } from '../src/OpenSheetMusicDisplay/OpenSheetMus
|
|
// The available demos
|
|
// The available demos
|
|
demos = {
|
|
demos = {
|
|
"Beethoven - An die ferne Geliebte": "Beethoven_AnDieFerneGeliebte.xml",
|
|
"Beethoven - An die ferne Geliebte": "Beethoven_AnDieFerneGeliebte.xml",
|
|
|
|
+ "NinskaBanja_LoosMeasures.xml": "NinskaBanja_LoosMeasures.xml",
|
|
|
|
+ "NiskaBanja_DoesNotRender": "NiskaBanja_DoesNotRender.xml",
|
|
"M. Clementi - Sonatina Op.36 No.1 Pt.1": "MuzioClementi_SonatinaOpus36No1_Part1.xml",
|
|
"M. Clementi - Sonatina Op.36 No.1 Pt.1": "MuzioClementi_SonatinaOpus36No1_Part1.xml",
|
|
"M. Clementi - Sonatina Op.36 No.1 Pt.2": "MuzioClementi_SonatinaOpus36No1_Part2.xml",
|
|
"M. Clementi - Sonatina Op.36 No.1 Pt.2": "MuzioClementi_SonatinaOpus36No1_Part2.xml",
|
|
"M. Clementi - Sonatina Op.36 No.3 Pt.1": "MuzioClementi_SonatinaOpus36No3_Part1.xml",
|
|
"M. Clementi - Sonatina Op.36 No.3 Pt.1": "MuzioClementi_SonatinaOpus36No3_Part1.xml",
|
|
@@ -82,7 +84,6 @@ import { OpenSheetMusicDisplay } from '../src/OpenSheetMusicDisplay/OpenSheetMus
|
|
select.onchange = selectOnChange;
|
|
select.onchange = selectOnChange;
|
|
|
|
|
|
// Pre-select default music piece
|
|
// Pre-select default music piece
|
|
- select.value = "MuzioClementi_SonatinaOpus36No1_Part1.xml";
|
|
|
|
|
|
|
|
custom.appendChild(document.createTextNode("Custom"));
|
|
custom.appendChild(document.createTextNode("Custom"));
|
|
|
|
|
|
@@ -187,6 +188,7 @@ import { OpenSheetMusicDisplay } from '../src/OpenSheetMusicDisplay/OpenSheetMus
|
|
return openSheetMusicDisplay.render();
|
|
return openSheetMusicDisplay.render();
|
|
},
|
|
},
|
|
function(e) {
|
|
function(e) {
|
|
|
|
+ console.warn(e.stack);
|
|
error("Error reading sheet: " + e);
|
|
error("Error reading sheet: " + e);
|
|
}
|
|
}
|
|
).then(
|
|
).then(
|