|
|
@@ -130,6 +130,7 @@
|
|
130
|
130
|
<#elseif jobInfo.glueType == "GLUE_PHP" >
|
|
131
|
131
|
<#assign glueTypeModeSrc = "${request.contextPath}/static/plugins/codemirror/mode/php/php.js" />
|
|
132
|
132
|
<#assign glueTypeIdeMode = "text/x-php" />
|
|
|
133
|
+ <#assign glueTypeModeSrc02 = "${request.contextPath}/static/plugins/codemirror/mode/clike/clike.js" />
|
|
133
|
134
|
<#elseif jobInfo.glueType == "GLUE_NODEJS" >
|
|
134
|
135
|
<#assign glueTypeModeSrc = "${request.contextPath}/static/plugins/codemirror/mode/javascript/javascript.js" />
|
|
135
|
136
|
<#assign glueTypeIdeMode = "text/javascript" />
|
|
|
@@ -138,6 +139,9 @@
|
|
138
|
139
|
|
|
139
|
140
|
<script src="${request.contextPath}/static/plugins/codemirror/lib/codemirror.js"></script>
|
|
140
|
141
|
<script src="${glueTypeModeSrc}"></script>
|
|
|
142
|
+<#if glueTypeModeSrc02?exists>
|
|
|
143
|
+ <script src="${glueTypeModeSrc02}"></script>
|
|
|
144
|
+</#if>
|
|
141
|
145
|
<script src="${request.contextPath}/static/plugins/codemirror/addon/hint/show-hint.js"></script>
|
|
142
|
146
|
<script src="${request.contextPath}/static/plugins/codemirror/addon/hint/anyword-hint.js"></script>
|
|
143
|
147
|
|