Hi,
just build TDJ and see it working right. I built with Maven, didn't try
from IDE (Moonshine), and maybe some config is not correctly set up on TDJ
project.
I can ensure code is compiling and working right.

Thanks


El vie., 22 nov. 2019 a las 8:00, Piotr Zarzycki (<[email protected]>)
escribió:

> Hi Mandeep,
>
> It's a bit strange that you are getting this. One of the option is to
> surround that part of the code with:
>
> COMPILE::JS
> {
>   Your code
> }
>
> Thanks,
> Piotr
>
> On Fri, Nov 22, 2019, 6:02 AM Mandeep Sarma <[email protected]> wrote:
>
>> while using moonshine 2.4 and 2.5 with SDK 0.9.7 and 0.9.6 the compiler
>> throws and error : undefined property hljs.
>>
>> Anyone know why?
>>
>> Thx!
>> Mandeep
>>
>> Console output:
>>
>> : Compiling TourDeJewel
>> : Using Royale Compiler codebase:
>> "D:\apache-royale-sdks\apache-royale-0.9.7-bin-js\royale-asjs"
>> : Using Royale SDK:
>> "D:\apache-royale-sdks\apache-royale-0.9.7-bin-js\royale-asjs"
>> : MXMLJSC
>> :
>> -sdk-js-lib=D:\apache-royale-sdks\apache-royale-0.9.7-bin-js\royale-asjs\frameworks\js\Royale\generated-sources
>> : -load-config+=obj/TourDeJewelConfig.xml
>> : -theme=${royalelib}/themes/JewelTheme/src/main/resources/defaults.css
>> : -html-template=src/main/resources/jewel-example-index-template.html
>> : -js-dynamic-access-unknown-members=true
>> : -compiler.targets=JSRoyale
>> : -js-output=D:\wwwroot\royaleplaywebsites\tourdejewel
>> :
>> D:\apache-royale-examples\examples\royale\TourDeJewel-play\src\main\royale\components\ExampleAndSourceCodeTabbedSectionContent.as(133):
>> col: 13 Error: Access of possibly undefined property hljs.
>> :
>> :             hljs.highlightBlock(sourceCodeMXMLText.element);
>> :             ^
>> :
>> : 15.7142981 seconds
>>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to