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

piotrz 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 f7ee95f  Fix blog example BE0012
f7ee95f is described below

commit f7ee95fa379a7f8b24fabd7654ea6e7b3600eef6
Author: Piotr Zarzycki <[email protected]>
AuthorDate: Thu Jun 13 00:49:36 2019 +0200

    Fix blog example BE0012
---
 .../BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml
 
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml
index c3d4bc5..432252f 100644
--- 
a/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml
+++ 
b/examples/blog/BE0012_Using_external_javascript_libraries_in_Apache_Royale/src/main/royale/BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml
@@ -30,7 +30,10 @@
 
             public function highLightContent():void
             {
-                hljs.highlightBlock(sourceCodeMXMLText.element);   
+                               COMPILE::JS
+                               {
+                       hljs.highlightBlock(sourceCodeMXMLText.element);   
+                               }
             }
                ]]>
        </fx:Script>

Reply via email to