You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2019/07/25 19:19:40 UTC
Blog Example B012 broken -> hljs extern class not found
Hi,
I was testing now if with latest changes (mostly in @extern changes) blog
example B012 was ok and even if hljs class could be now in the same example
project (remember that hljs need to be in a library since inject_html only
works if @extern class is located in a library project).
Compiling and testing that project shows the broken behavior.
I'm getting:
[Error] ReferenceError: Can't find variable: hljs
highLightContent
(BE0012_Using_external_javascript_libraries_in_Apache_Royale.js:192)
$EH2 (BE0012_Using_external_javascript_libraries_in_Apache_Royale.js:240)
(función anónima)
fireListener (events.js:744)
fireListenerOverride (HTMLElementWrapper.js:53)
fireListenerOverride (ElementWrapper.js:47)
handleBrowserEvent_ (events.js:870)
(función anónima) (events.js:289)
--
Carlos Rovira
http://about.me/carlosrovira