mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Format tweaks in lang modes partial JS
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// Provide a fileName and get fileExt and mode set based on supported languages
|
||||
|
||||
fileExt = fileName.split(".");
|
||||
fileExt = fileExt[fileExt.length-1];
|
||||
fileExt = fileExt[fileExt.length - 1];
|
||||
|
||||
var mode =
|
||||
fileExt == "js" ? "text/javascript"
|
||||
: fileExt == "json" ? "text/javascript"
|
||||
|
||||
Reference in New Issue
Block a user