Yes please, that way I wouldn't have to override base.htm either :) On Mon, 19 Nov 2018, 18:51 Adam Cox <[email protected] wrote:
> Vincent, this illustrates a great way to normalize the inclusion of extra > Javascript libraries in an Arches project: > > I think a dummy file, perhaps called "javascript_project.htm" should be > put into a project by default, and then a line added to the real base.htm > to include it (or something along these lines). This would set up a good > scaffolding for developers who need to make widgets that use extra > javascript libraries. > > Adam > > On Mon, Nov 19, 2018 at 5:34 PM Vincent Meijer <[email protected]> > wrote: > >> I extend require.config() this way: >> https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/templates/config.htm >> >> Then I include that template like so: >> https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/templates/base.htm#L63 >> (I copy/pasted that base.htm from the official Arches repo so it >> effectively overrides that. Then I added that highlighted line) >> >> >> On Monday, 19 November 2018 18:15:37 UTC+1, Lawrence Goh wrote: >>> >>> Hi Vincent, >>> >>> Just checking, is there a variable in the code base for the waitseconds? >>> >>> By default, i think its 7 sec. >>> >>> Thanks. >>> >>> Regards, >>> Lawrence >>> >>> -------- Original message -------- >>> From: Vincent Meijer <[email protected]> >>> Date: 11/20/18 5:52 AM (GMT+12:00) >>> To: Arches Project <[email protected]> >>> Subject: [Arches] Re: RequireJS timed out >>> >>> Hey Lawrence, >>> >>> Not sure if I ever had the same problem, but at some point I set my >>> waitSeconds to 0, so I must have at least some issues with loading >>> javascipt modules. >>> >>> >>> On Tuesday, 13 November 2018 03:46:24 UTC+1, Lawrence Goh wrote: >>>> >>>> Hi all, has anyone experienced this where you have defined the data >>>> type 'concept' and the 'concept collection' dropdown doesn't appear? In >>>> console, you will get a RequireJS timed out. >>>> >>>> I had to change the requireJS's waitSeconds to 60 for it to work. >>>> >>>> [image: Screenshot from 2018-11-13 13-38-10.png] >>>> >>>> [image: Screenshot from 2018-11-13 12-12-44.png] >>>> >>>> [image: Screenshot from 2018-11-13 12-47-13.png] >>>> >>>> -- >>> -- To post, send email to [email protected]. To unsubscribe, >>> send email to [email protected]. For more information, >>> visit https://groups.google.com/d/forum/archesproject?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Arches Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
