Great job! :) I have a few comments:
In the introduction I would add at the end, "It also allows an IDE to
provide code completion, type checking, etc." You mention the advantages
later in the post.
/>Note: Currently the inject_html injection only works if your @externs
class is located in a Royale library. It will not work if is located in
the application project./
Does that mean my externs class in my project directory, src, will work
but it cannot add html to the template? Do I need to move my AS class
somewhere else, or manually add the script tags to my template or is
this a temporary issue that will be fixed in the future?
In the example, the *hljs* class is not declared locally in the project
because it is declared already in Royale. Does that mean it is available
via code hinting automatically?
When I create my extern classes for my own project where do I put them?
What is the code component? Does that a code tag?
Is it possible in the example code you use to remove the large comment
at the top? :)
Jude
On 6/3/19 1:25 PM, Carlos Rovira wrote:
Hi Andrew!
just finished the last blog example, could you please take a look and fix
whatever aggression against the English language that may have been
committed? :)
https://royale.codeoscopic.com/using-external-javascript-libraries-in-apache-royale/
To the rest of folks: please let me know if you thing something is wrong or
must be modified in some way.
thanks in advance