1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

Update Ace XML Editor 1.4.10 - Move seperate dir

This commit is contained in:
catborise 2020-05-14 19:59:22 +03:00 committed by catborise
parent d384c914a4
commit b48b112a40
10 changed files with 26 additions and 21 deletions

View file

@ -125,7 +125,7 @@
}
</script>
<script src="{% static "js/ace.js" %}"></script>
<script src="{% static "js/ace/ace.js" %}"></script>
<script>
var editor = ace.edit("editor");
editor.getSession().setMode("ace/mode/xml");

View file

@ -1666,7 +1666,7 @@
{% endblock %}
{% block script %}
<script src="{% static "js/ace.js" %}" type="text/javascript" charset="utf-8"></script>
<script src="{% static "js/ace/ace.js" %}" type="text/javascript" charset="utf-8"></script>
<script>
function get_volumes(compute_id, pool) {
get_vol_url = "/computes/" + compute_id + "/storage/" + pool + "/volumes";

View file

@ -465,7 +465,7 @@
});
});
</script>
<script src="{% static "js/ace.js" %}"></script>
<script src="{% static "js/ace/ace.js" %}"></script>
<script>
var editor = ace.edit("edit_editor");
editor.getSession().setMode("ace/mode/xml");

View file

@ -178,7 +178,7 @@
}(jQuery));
});
</script>
<script src="{% static "js/ace.js" %}"></script>
<script src="{% static "js/ace/ace.js" %}"></script>
<script>
var editor = ace.edit("edit_editor");
editor.getSession().setMode("ace/mode/xml");

View file

@ -156,7 +156,7 @@
});
</script>
<script src="{% static "js/ace.js" %}"></script>
<script src="{% static "js/ace/ace.js" %}"></script>
<script>
var editor = ace.edit("editor");
editor.getSession().setMode("ace/mode/xml");

File diff suppressed because one or more lines are too long

17
static/js/ace/ace.js Executable file

File diff suppressed because one or more lines are too long

View file

@ -5,3 +5,4 @@ define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],functio
}
});
})();

1
static/js/mode-xml.js → static/js/ace/mode-xml.js Executable file → Normal file
View file

@ -5,3 +5,4 @@ define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop
}
});
})();

File diff suppressed because one or more lines are too long