Prettified Code!

This commit is contained in:
seijihariki 2022-12-19 03:04:24 +00:00 committed by GitHub Action
parent c1614edf99
commit 20d8d70c51

View file

@ -34,7 +34,7 @@
try {
return fontSetterNative.call(this, value);
} catch (e) {
if (e.name !== 'NS_ERROR_FAILURE'){
if (e.name !== "NS_ERROR_FAILURE") {
throw e;
}
}
@ -50,7 +50,7 @@
try {
return measureTextNative.apply(this, arguments);
} catch (e) {
if (e.name !== 'NS_ERROR_FAILURE'){
if (e.name !== "NS_ERROR_FAILURE") {
throw e;
} else {
return new FakeTextMetrics();
@ -63,7 +63,7 @@
try {
fillTextNative.apply(this, arguments);
} catch (e) {
if (e.name !== 'NS_ERROR_FAILURE'){
if (e.name !== "NS_ERROR_FAILURE") {
throw e;
}
}
@ -74,15 +74,13 @@
try {
strokeTextNative.apply(this, arguments);
} catch (e) {
if (e.name !== 'NS_ERROR_FAILURE'){
if (e.name !== "NS_ERROR_FAILURE") {
throw e;
}
}
};
})();
window.onload = startup;
var stableDiffusionData = {