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 85dc45d  make hljs and dialogPolyfill be only COPILE::JS
85dc45d is described below

commit 85dc45d4ca3db0167a0d6bb1a04631785fa5cf6b
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Jul 25 21:25:15 2019 +0200

    make hljs and dialogPolyfill be only COPILE::JS
---
 frameworks/projects/Jewel/src/main/royale/JewelClasses.as   | 3 +++
 frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as | 2 +-
 frameworks/projects/Jewel/src/main/royale/hljs.as           | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as 
b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
index 60b99b4..d50d29c 100644
--- a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
+++ b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
@@ -119,8 +119,11 @@ package
 
         import 
org.apache.royale.jewel.supportClasses.validators.CreditCardValidatorCardType; 
CreditCardValidatorCardType;
 
+        COMPILE::JS
+        {
         import dialogPolyfill; dialogPolyfill;
         import hljs; hljs;
+        }
     }
 
 }
diff --git a/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as 
b/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
index 10323a8..cc33bfa 100644
--- a/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
+++ b/frameworks/projects/Jewel/src/main/royale/dialogPolyfill.as
@@ -21,9 +21,9 @@ package
        /**
         * @externs
         */
+       COMPILE::JS
        public class dialogPolyfill
        {
-               COMPILE::JS
                public static function registerDialog(dialog:Element):void {}
        }
 }
\ No newline at end of file
diff --git a/frameworks/projects/Jewel/src/main/royale/hljs.as 
b/frameworks/projects/Jewel/src/main/royale/hljs.as
index e9433da..131a897 100644
--- a/frameworks/projects/Jewel/src/main/royale/hljs.as
+++ b/frameworks/projects/Jewel/src/main/royale/hljs.as
@@ -21,6 +21,7 @@ package
        /**
         * @externs
         */
+       COMPILE::JS
        public class hljs
        {
                /** 
@@ -31,7 +32,6 @@ package
                 */
                public function hljs(){}
 
-        COMPILE::JS
                public static function highlightBlock(block:Element):void {}
        }
 }
\ No newline at end of file

Reply via email to