Refining Prettier use a littl

This commit is contained in:
mattpass
2020-07-01 17:27:31 +01:00
parent 4307cb4f13
commit 19b5bdb395
3 changed files with 12 additions and 8 deletions

View File

@@ -298,8 +298,6 @@ parent.ICEcoder.switchMode = function(mode) {
}
} else if (cM && fileName) {
<?php include(dirname(__FILE__) . "/assets/js/language-modes-partial.js");?>
parent.ICEcoder.selectedTabFileExt = fileExt;
parent.ICEcoder.selectedTabLangMode = mode;
if (mode != cM.getOption("mode")) {
cM.setOption("mode", mode);
cM.setOption("lint", ("js" === fileExt || "json" === fileExt) && parent.ICEcoder.codeAssist ? true : false);