You mean to inject additional <script> tags?  You could embed them there in
there also (in the head).  However, there is another way for script tags
also:

https://github.com/codenameone/CodenameOne/wiki/Working-With-Javascript#including-third-party-javascript-libraries

Steve

On Mon, Dec 19, 2016 at 10:54 AM, <[email protected]> wrote:

> Thanks Steve
>
> This is a good idea, can a similar injection be done for <script>?
>
> On Monday, December 19, 2016 at 1:27:37 PM UTC-5, Steve Hannah wrote:
>>
>> Hi Mickey,
>>
>> I have just added the following build hints:
>>
>> javascript.inject.beforeHead
>> javascript.inject.afterHead
>>
>> You can add arbitrary HTML to these and they will be injected at the
>> beginning or end of the <head> tag of the index file.
>>
>> These will be available in the next server update on Friday.
>>
>> Best regards
>>
>> Steve
>>
>> On Mon, Dec 19, 2016 at 9:15 AM, <[email protected]> wrote:
>>
>>> Hi
>>>
>>> I had an issue running the javascript version on chrome where the icon
>>> on the windows task bar became blurry. So I added this line in the
>>> index.html
>>> <link rel="icon" type="image/x-icon" href="favicon.ico" sizes="32x32" />
>>>
>>> Is there a way to include this line everytime I generate a new build?
>>>
>>> Thanks
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> Visit this group at https://groups.google.com/grou
>>> p/codenameone-discussions.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/codenameone-discussions/018a9a79-bf7b-49c8-8005-22a19415
>>> e7e7%40googlegroups.com
>>> <https://groups.google.com/d/msgid/codenameone-discussions/018a9a79-bf7b-49c8-8005-22a19415e7e7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/7413718b-0252-438c-b621-
> a0f7f7c9ef45%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/7413718b-0252-438c-b621-a0f7f7c9ef45%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVrLFnQUAm3nJuf%3DeFPCyeHJsZpWXre1JrLoV5ctBKTKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to