You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/08/20 17:15:23 UTC

[royale-asjs] branch develop updated: Move example hljs @extern to demo apps and remove from Jewel library thanks to latest fix in compiler by josh tynjala

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 bcffaee  Move example hljs @extern to demo apps and remove from Jewel library thanks to latest fix in compiler by josh tynjala
bcffaee is described below

commit bcffaeea1d28347b554c2f5dc723dffc28bf6fce
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Aug 20 19:15:14 2019 +0200

    Move example hljs @extern to demo apps and remove from Jewel library thanks to latest fix in compiler by josh tynjala
---
 .../src/main/royale/hljs.as                                        | 0
 .../royale/components/ExampleAndSourceCodeTabbedSectionContent.as  | 7 +------
 .../Jewel => examples/royale/TourDeJewel}/src/main/royale/hljs.as  | 0
 frameworks/projects/Jewel/src/main/royale/JewelClasses.as          | 2 --
 4 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/hljs.as b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/hljs.as
similarity index 100%
copy from frameworks/projects/Jewel/src/main/royale/hljs.as
copy to examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/hljs.as
diff --git a/examples/royale/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as b/examples/royale/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
index b122740..bb11b72 100644
--- a/examples/royale/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
+++ b/examples/royale/TourDeJewel/src/main/royale/components/ExampleAndSourceCodeTabbedSectionContent.as
@@ -37,12 +37,7 @@ package components
 	{
         /**
 		 *  constructor.
-         * 
-         *  <inject_html>
-		 *  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
-         *  <link rel="stylesheet" title="Atom One Dark" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css">
-		 *  </inject_html>
-		 *  
+         *
 		 *  @langversion 3.0
 		 *  @playerversion Flash 10.2
 		 *  @playerversion AIR 2.6
diff --git a/frameworks/projects/Jewel/src/main/royale/hljs.as b/examples/royale/TourDeJewel/src/main/royale/hljs.as
similarity index 100%
rename from frameworks/projects/Jewel/src/main/royale/hljs.as
rename to examples/royale/TourDeJewel/src/main/royale/hljs.as
diff --git a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
index d50d29c..5e81927 100644
--- a/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
+++ b/frameworks/projects/Jewel/src/main/royale/JewelClasses.as
@@ -122,8 +122,6 @@ package
         COMPILE::JS
         {
         import dialogPolyfill; dialogPolyfill;
-        import hljs; hljs;
         }
     }
-
 }