Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d3c91225

Přidáno uživatelem Pavel Fidranský před asi 6 roky(ů)

replaced jQuery by native JS wherever possible

Zobrazit rozdíly:

sources/src/main/webapp/js/components/sidebarExcludedNodeList.js
125 125
	this.reset = function() {
126 126
		nodeList = [];
127 127

  
128
		$(nodeListElement).empty();
128
		nodeListElement.innerHTML = '';
129 129

  
130 130
		toggleControls.call(this);
131 131
	};
sources/src/main/webapp/js/components/sidebarUnconnectedNodeList.js
99 99
	this.reset = function() {
100 100
		nodeList = [];
101 101

  
102
		$(nodeListElement).empty();
102
		nodeListElement.innerHTML = '';
103 103
	};
104 104

  
105 105
	function includeAll() {
sources/src/main/webapp/js/components/viewport.js
216 216
		vertexList = [];
217 217
		groupList = [];
218 218

  
219
		$(edgesContainer).empty();
220
		$(verticesContainer).empty();
221
		$(groupsContainer).empty();
219
		edgesContainer.innerHTML = '';
220
		verticesContainer.innerHTML = '';
221
		groupsContainer.innerHTML = '';
222 222
	};
223 223

  
224 224
	function onMouseWheel(e) {
sources/src/main/webapp/showGraph.jsp
181 181
		var app = new App;
182 182
		app.HOME_URL = '${HOME_URL}';
183 183

  
184
		$(document).ready(function() {
184
		document.addEventListener('DOMContentLoaded', function() {
185 185
			var loaderFn = app.diagramLoader('${param.diagramId}');
186 186

  
187 187
			app.run(loaderFn);
sources/src/main/webapp/uploadFiles.jsp
12 12

  
13 13
		<link rel="stylesheet" href="css/main.css">
14 14

  
15
		<script src="js/libs/jquery-3.3.1.min.js"></script>
16 15
		<script src="js/errors/httpError.js"></script>
17 16
		<script src="js/utils/ajax.js"></script>
18 17
		<script src="js/constants.js"></script>

Také k dispozici: Unified diff