I search in codebase for "inject_html" and see this: /** * FalconJX will inject html into the index.html file. Surround with * "inject_html" tag as follows: * * <inject_html> * <script src="https://code.createjs.com/easeljs-0.8.1.min.js "></script> * <script src="https://code.createjs.com/tweenjs-0.6.2.min.js"></script> * </inject_html> */
in Application.as So maybe we should add Application.as in MDL.swc? But I'd like to support both ways to do this, since I use maven construction to configure MDL colors through properties in pom.xml... 2017-01-03 21:24 GMT+01:00 OmPrakash Muppirala <bigosma...@gmail.com>: > Yes, I see that in the MDLExample project. But I don't want to add that > code to every app that uses the MDL library. > > The MDL library should add that inject_html itself. I just don't know how > to do that in the library itself. > > Thanks, > Om > > 2017-01-03 12:08 GMT-08:00 Carlos Rovira <carlos.rov...@codeoscopic.com>: > > > Hi Om, > > > > in MDL is added in the HTML template. I think you could do the same, > right? > > Could you check the way we do in MDLExample? > > > > Other way could be inject_html... > > > > > > > > > > 2017-01-03 20:16 GMT+01:00 OmPrakash Muppirala <bigosma...@gmail.com>: > > > > > For the TeamPage_MDL project, I need to use the MDL library. But the > > > script tag needs to be added in the app's html template. Is there any > > way > > > to add this from the MDL library itself? > > > > > > I needed to create a FontAwesome library, and now I need to remember to > > > update the app's html template before using it in an app. > > > > > > It seems redundant for the users to import a library and still need to > > add > > > it as a runtime dependency in the app' settings. > > > > > > Can we add this functionality? > > > > > > Thanks, > > > Om > > > > > > > > > > > -- > > > > Carlos Rovira > > Director General > > M: +34 607 22 60 05 > > http://www.codeoscopic.com > > http://www.avant2.es > > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > > información privilegiada o confidencial. Si ha recibido este mensaje por > > error, le rogamos que nos lo comunique inmediatamente por esta misma vía > y > > proceda a su destrucción. > > > > De la vigente Ley Orgánica de Protección de Datos (15/1999), le > comunicamos > > que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC > > S.A. La finalidad de dicho tratamiento es facilitar la prestación del > > servicio o información solicitados, teniendo usted derecho de acceso, > > rectificación, cancelación y oposición de sus datos dirigiéndose a > nuestras > > oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > > necesaria. > > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.