Hello

The location of the error.

<j:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; xmlns:j="library://
ns.apache.org/royale/jewel" xmlns:js="library://ns.apache.org/royale/basic"
xmlns:html="library://ns.apache.org/royale/html"
initialize="codeTextLoader.send();"> <fx:Script> <![CDATA[ [Bindable]
public var code_txt:String; public function highLightContent():void {
COMPILE::JS { hljs.highlightBlock(sourceCodeMXMLText.element); } } ]]>
</fx:Script>

error at the

hljs.highlightBlock(sourceCodeMXMLText.element)


Uncaught ReferenceError: hljs is not defined



Best regards

2020年8月11日(火) 午後4:07 Yishay Weiss <[email protected]>:

> Hi Yushiro,
>
>
>
> Can you share your code so we can help you?
>
>
>
>
>
>
>
> *From: *yushiro maeda <[email protected]>
> *Sent: *Tuesday, August 11, 2020 9:56 AM
> *To: *[email protected]
> *Subject: *@externs tutorial I can not work.
>
>
>
> Hello
>
>
>
> I follow the tutorial below. But the link is bloken and the @externs does
> not seem to be recognized well
>
>
>
>
>
> Uncaght ReferenceError: hljs is not defined
>
>
>
>
>
> hljs.as is in the same src folder as main.mxml .but do I need anything
> else?
>
>
>
> It would be helpful if you could tell me.
>
>
>
> Best regards
>
>
>

Reply via email to