You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2025/01/15 17:30:05 UTC

(myfaces-build-tools) branch main updated: Remove deprecated `language` attribute from HTML `script` tags (#51)

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

melloware pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-build-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new d55f4604 Remove deprecated `language` attribute from HTML `script` tags (#51)
d55f4604 is described below

commit d55f460406b9a8e0b380091b361070994f6234d0
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Jan 16 03:30:01 2025 +1000

    Remove deprecated `language` attribute from HTML `script` tags (#51)
    
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#deprecated_attributes
---
 .../src/test/resources/jsunit/jsUnitAssertionTests.html               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maven2-plugins/myfaces-javascript-plugin/src/test/resources/jsunit/jsUnitAssertionTests.html b/maven2-plugins/myfaces-javascript-plugin/src/test/resources/jsunit/jsUnitAssertionTests.html
index a2099dad..ce482347 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/test/resources/jsunit/jsUnitAssertionTests.html
+++ b/maven2-plugins/myfaces-javascript-plugin/src/test/resources/jsunit/jsUnitAssertionTests.html
@@ -45,8 +45,8 @@
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>JsUnit Assertion Tests</title>
     <link rel="stylesheet" type="text/css" href="css/jsUnitStyle.css">
-<script language="JavaScript" src="app/jsUnitCore.js"></script>
-<script language="JavaScript">
+<script src="app/jsUnitCore.js"></script>
+<script>
 
 // JsUnit Assertion Tests
 function testAssert() {