You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/04/22 14:54:36 UTC

[cxf] 03/04: cxf-rt-javascript: fix warnings

This is an automated email from the ASF dual-hosted git repository.

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 0919568ba259baba9c7cfd3823516d880644804c
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Wed Apr 22 14:03:31 2020 +0300

    cxf-rt-javascript: fix warnings
---
 .../src/main/resources/org/apache/cxf/javascript/cxf-utils.js         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js b/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
index e5aa233..46d8864 100644
--- a/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
+++ b/rt/javascript/javascript-rt/src/main/resources/org/apache/cxf/javascript/cxf-utils.js
@@ -737,10 +737,10 @@ function org_apache_cxf_client_request(url, requestXML, method, sync, headers)
 
 	this.req.onreadystatechange = function() {
 		requester.onReadyState();
-	}
+	};
 	this.req.onerror = function() {
 		requester.onReadyState();
-	}
+	};
 
 	// NOTE: we do not call the onerror callback for a synchronous error
 	// at request time. We let the request object throw as it will.