On 11/30/16, 1:52 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:
>Are you saying we could make a bead to decorate the index.html...don't >understand exactly the proposed solution. I thought beads was something >inside the framework, nothing to do in the html template... A bead wouldn't directly update the index.html, but it can: 1) use the <inject_html> to inject stuff into the <head> (see Mobile/src/main/flex/org/apache/cordova/Application.as for an example) 2) run JavaScript that could add <link> tags at runtime. There isn't a good example for this, but I don't see why it couldn't be done. BrowserScroller.as even uses eval() on the SWF side to muck with the SWFObject wrapper. I guess it would depend a bit on whether the link data is static or dynamically computed. Some people may not like having this sort of configuration in the code instead of in compiler switches or whatever, but IMO, a compiler's job is to compile and not leak into the area of build and deployment. My 2 cents, -Alex