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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 8dc949d  jewel-alert: transfer inject_html to the place it always 
should be: dialogPolyfil @extern
8dc949d is described below

commit 8dc949df7f0e1a18f9277b9b14631e9f52a3bd4a
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Aug 20 22:00:37 2019 +0200

    jewel-alert: transfer inject_html to the place it always should be: 
dialogPolyfil @extern
---
 frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as       | 8 ++++++++
 .../Jewel/src/main/royale/org/apache/royale/jewel/Alert.as        | 7 +------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as 
b/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
index cc33bfa..c1c9408 100644
--- a/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
+++ b/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
@@ -24,6 +24,14 @@ package
        COMPILE::JS
        public class dialogPolyfill
        {
+               /** 
+         * <inject_html>
+         * <script 
src="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.js";></script>
+         * <link rel="stylesheet" type="text/css" 
href="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.css";>
+         * </inject_html>
+                */
+               public function dialogPolyfill(){}
+                
                public static function registerDialog(dialog:Element):void {}
        }
 }
\ No newline at end of file
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
index 9c22299..e07401c 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as
@@ -96,12 +96,7 @@ package org.apache.royale.jewel
                
                /**
                 *  constructor.
-                *
-         *  <inject_html>
-         *  <link rel="stylesheet" type="text/css" 
href="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.css";>
-         *  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.js";></script>
-         *  </inject_html>
-         * 
+                *  
                 *  @langversion 3.0
                 *  @playerversion Flash 10.2
                 *  @playerversion AIR 2.6

Reply via email to