This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git
The following commit(s) were added to refs/heads/master by this push: new 9aebe85 Proper variable declaration in TCK new e46b489 Merge pull request #34 from rqu/patch-1 9aebe85 is described below commit 9aebe850d06a73eeef137add4a49cf3088706ad3 Author: rqu <33589083+...@users.noreply.github.com> AuthorDate: Wed Mar 24 11:16:44 2021 +0100 Proper variable declaration in TCK Making the test script compatible with strict mode. The variable was assigned without declaration in order to force a global variable declaration, but JavaScript resources are executed in global scope anyway. --- json-tck/src/main/resources/net/java/html/js/tests/initArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-tck/src/main/resources/net/java/html/js/tests/initArray.js b/json-tck/src/main/resources/net/java/html/js/tests/initArray.js index 96dffff..9bac9ab 100644 --- a/json-tck/src/main/resources/net/java/html/js/tests/initArray.js +++ b/json-tck/src/main/resources/net/java/html/js/tests/initArray.js @@ -16,5 +16,5 @@ * specific language governing permissions and limitations * under the License. */ -testArray = []; +var testArray = []; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists