struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Add more consistency to code
Date Fri, 18 Oct 2019 05:11:48 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new cbfe505  Add more consistency to code
     new be262bc  Merge pull request #377 from gabrielmcoelho/patch-1
cbfe505 is described below

commit cbfe505dabbb184dbcc0c9f55ddb97cd0463af0c
Author: Gabriel Medeiros Coelho <gabriel_mcoelho@hotmail.com>
AuthorDate: Thu Oct 17 19:27:37 2019 -0300

    Add more consistency to code
    
    Variable was missing declaration and semicolon was missing
---
 bundles/admin/src/main/resources/static/js/shell.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bundles/admin/src/main/resources/static/js/shell.js b/bundles/admin/src/main/resources/static/js/shell.js
index eb7877d..8f3486e 100644
--- a/bundles/admin/src/main/resources/static/js/shell.js
+++ b/bundles/admin/src/main/resources/static/js/shell.js
@@ -29,8 +29,8 @@
       result_div.appendChild(document.createElement('br'));
 
       for (var line_index in result_array) {
-          var result_wrap = document.createElement('pre')
-          line = document.createTextNode(result_array[line_index]);
+          var result_wrap = document.createElement('pre');
+          var line = document.createTextNode(result_array[line_index]);
           result_wrap.appendChild(line);
           result_div.appendChild(result_wrap);
           result_div.appendChild(document.createElement('br'));


Mime
View raw message