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

hiedra pushed a commit to branch examples/TDJ_localresources
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 96b561f1f3ec5ea073948d398537f4209a5102de
Author: mjesteve <[email protected]>
AuthorDate: Wed Mar 12 02:19:05 2025 +0100

    Jewel: Overriding the </inject_script> block by including it in a comment 
block.
    Clearing previously added comments in royale-asjs\ApproveRoyale.xml
---
 ApproveRoyale.xml                                       |  3 ---
 .../org/apache/royale/jewel/beads/views/TabBarView.as   | 17 +++++++++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/ApproveRoyale.xml b/ApproveRoyale.xml
index 1ad4481293..a8b0825469 100644
--- a/ApproveRoyale.xml
+++ b/ApproveRoyale.xml
@@ -608,9 +608,6 @@
                 <exclude 
name="royale-asjs/templates/swfobject/expressInstall.swf"/>
 
                 <exclude 
name="royale-asjs/examples/mxroyale/tourdeflexmodules/src/swfobject.js"/>
-<!--                 <exclude 
name="royale-asjs/examples/jewel/TourDeJewel/src/main/resources/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.js"/>
-                <exclude 
name="royale-asjs/examples/jewel/TourDeJewel/src/main/resources/ajax/libs/highlight.js/9.12.0/highlight.min.js"/>
-                <exclude 
name="royale-asjs/examples/jewel/TourDeJewel/src/main/resources/ajax/libs/web-animations/2.3.1/web-animations.min.js"/>
 -->
 
             </fileset>
         </rat:report>
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/TabBarView.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/TabBarView.as
index f86bdeff3e..9315a92e38 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/TabBarView.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/TabBarView.as
@@ -39,14 +39,19 @@ package org.apache.royale.jewel.beads.views
         */
        public class TabBarView extends ListView
        {
+                /*
+                * Js file included in the compilation, through the option 
+                * 
-js-include-script+=src/main/assembly/scripts/web-animations/2.3.1/web-animations.min.js
+                * 
-----------------------------------------------------------------------------------------------------------
+                *  <inject_script>
+                *  var script = document.createElement("script");
+                *  script.setAttribute("src", 
"https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js";);
+                *  document.head.appendChild(script);
+                *  </inject_script>
+                */
+
                /**
                 *  constructor.
-                *
-                *  //<inject_script>
-                *  //var script = document.createElement("script");
-                *  //script.setAttribute("src", 
"https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js";);
-                *  //document.head.appendChild(script);
-                *  //</inject_script>
                 * 
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2

Reply via email to