It is more reliable and efficient to load external js from the boot.html
then to do so later. You can have timing issues where the js is not fully
loaded for example when doing later. The additional boot files are examples
of what to add if desired.

David Botton
On Wed, Sep 16, 2015 at 10:19 AM Pascal <[email protected]> wrote:

> Hello,
>
> Here is diff between boot.html and boot_ace.html:
>
> $ diff boot.html boot_ace.html
> 10c10,12
> <       <script src="/js/boot.js" type="text/javascript"></script>
> ---
> >       <script src="/js/ace-builds/src-noconflict/ace.js"
> type="text/javascript" charset="utf-8"></script>
> >       <script>gnoga={}; gnoga['Connection_ID'] = @@Connection_ID@
> @;</script>
> >       <script src="/js/auto.js" type="text/javascript"></script>
>
> * is loading ace.js necessary as it will be loaded with:
>    procedure Load_Ace_Editor     (Window : in out
> Gnoga.Gui.Window.Window_Type'Class)   is
>    begin
>       Window.Document.Head_Element.jQuery_Execute
>       ("append('<script src=""/js/ace-builds/src-noconflict/ace.js""" &
>        " type=""text/javascript"" charset=""utf-8""></script>')");
>    end Load_Ace_Editor;
> * what is "@@Connection_ID@@" for?
> * is ACE requiring auto.js?
>
> I've tried ACE with boot.html and all seem to be ok, so what more with
> boot_ace.html?
>
> Thanks, Pascal.
> http://blady.pagesperso-orange.fr
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to