去除多余的代码
This commit is contained in:
@ -144,8 +144,6 @@
|
|||||||
var items = [];
|
var items = [];
|
||||||
$.each(result.data, function(index, value) {
|
$.each(result.data, function(index, value) {
|
||||||
var highCode = hljs.highlightAuto(value).value;
|
var highCode = hljs.highlightAuto(value).value;
|
||||||
value = value.replace(/</g, "<");
|
|
||||||
value = value.replace(/>/g, ">");
|
|
||||||
var templateName = index.substring(index.lastIndexOf("/") + 1, index.length).replace(/\.vm/g, "");
|
var templateName = index.substring(index.lastIndexOf("/") + 1, index.length).replace(/\.vm/g, "");
|
||||||
if(!$.common.equals("sql", templateName) && !$.common.equals("tree.html", templateName) && !$.common.equals("sub-domain.java", templateName)){
|
if(!$.common.equals("sql", templateName) && !$.common.equals("tree.html", templateName) && !$.common.equals("sub-domain.java", templateName)){
|
||||||
items.push({
|
items.push({
|
||||||
|
Reference in New Issue
Block a user