mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 16:46:48 +01:00
Refining Prettier use a littl
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user