6.1.0 - 变更包名 新增投影媒体权限开关/tasks模块 扩展内置模块方法 重构内置模块及构建脚本

This commit is contained in:
SuperMonster003
2022-05-26 19:18:16 +08:00
parent e0374a835e
commit f68ad1c993
770 changed files with 15821 additions and 14759 deletions

View File

@@ -529,7 +529,7 @@ function highlight(prefix, suffix, tag) {
sh_highlightElement(element, sh_languages[language]);
highlighted = true;
}
else if (typeof(prefix) === 'string' && typeof(suffix) === 'string') {
else if (typeof prefix === 'string' && typeof suffix === 'string') {
sh_load(language, element, prefix, suffix);
}
else {
@@ -538,7 +538,7 @@ function highlight(prefix, suffix, tag) {
break;
}
}
if (highlighted === false && donthighlight == false) {
if (highlighted === false && donthighlight === false) {
sh_highlightElement(element, sh_languages["javascript"]);
}
}