Serkan, Look how I'm injecting plugin for colorize code on the website [1]. This is how you should do in your code.
[1] https://github.com/piotrzarzycki21/TranspiledActionScript/blob/examples/Examples/TranspiledActionScriptWebsite/src/utils/Highlight.as Piotr On Thu, May 10, 2018, 12:04 AM Alex Harui <aha...@adobe.com> wrote: > Hi Serkan, > > It is hard to tell from your description what you are trying, but as I > mentioned in the other thread, the <inject_html> must be in an ASDoc > comment for the constructor function of a class. You can't put it anywhere > in the class file. > > Show us the code that isn't working if you are still not understanding > what I am saying. > > Thanks, > -Alex > > On 5/9/18, 1:45 PM, "Serkan Taş" <serkan....@likyateknoloji.com> wrote: > > Hi Alex, > > After working on the probabilities, i discovered that under several > circumstances the <inject_html> is being broken by the compiler. > > Here is my case : > > 1. I created a simple class > > 2. Inserted inject_html section as first item in class > > 3. Built the project and can see that the script are included. > > 4. Put any definition and/or declaration between the inject_html and > constructor - even empty comment like /** */ > > 5. The compiler fails to generate the script includes in the index.html > > This may be bug or something ? > > > >