Skip to content

Commit 983c670

Browse files
committed
fix(lib): messages d'erreur plus courts dans la librairie showdown
1 parent 6296bd8 commit 983c670

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

app/js/lib/showdown.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6476,22 +6476,15 @@ var Showdown = function () {
64766476

64776477
// LEGACY_SUPPORT CODE
64786478
if (showdown.extensions[ext]) {
6479-
console.warn(
6480-
"DEPRECATION WARNING: " +
6481-
ext +
6482-
" is an old extension that uses a deprecated loading method." +
6483-
"Please inform the developer that the extension should be updated!",
6484-
);
6479+
console.warn("DEPRECATION WARNING: " + ext + " = old extension");
64856480
legacyExtensionLoading(showdown.extensions[ext], ext);
64866481
return;
64876482
// END LEGACY SUPPORT CODE
64886483
} else if (!showdown.helper.isUndefined(extensions[ext])) {
64896484
ext = extensions[ext];
64906485
} else {
64916486
throw Error(
6492-
'Extension "' +
6493-
ext +
6494-
'" could not be loaded. It was either not found or is not a valid extension.',
6487+
'Extension "' + ext + '" : not found or not a valid extension.',
64956488
);
64966489
}
64976490
}

app/script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/script.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)