Good to know. I’ll probably be trying it in the next few days.
On Oct 31, 2016, at 5:10 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 10/31/16, 8:02 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> <inject_html> is used in classes which subclass Application. How would it >> work for classes which might be used in multiple locations in an app? > > <inject_html> works for any class, not just Application. > >> >> For example, if I want to implement a BinaryData.inflate() (in a subclass >> or utility class) how could I use <inject_html> and be sure it will be >> injected once and only once? > > All .js files are examined for not just <inject_html> but also for > circularities and goog.require dependencies. We build a list as we > examine all of these files and modify the output .html file. Someone else > just saw it work recently for non-Application classes. > > -Alex >