Skip to main content
17 events
when toggle format what by license comment
S Apr 15, 2018 at 6:53 history bounty ended StudioTime
S Apr 15, 2018 at 6:53 history notice removed StudioTime
Apr 15, 2018 at 6:53 vote accept StudioTime
Apr 14, 2018 at 5:36 comment added Tarun Lalwani @DarrenSweeney, any update on the link I posted, does it help or not?
Apr 10, 2018 at 8:38 answer added Munim Munna timeline score: 1
Apr 10, 2018 at 8:04 answer added Navjot Ahuja timeline score: 6
Apr 8, 2018 at 16:09 comment added Sebastian @DarrenSweeney show us the define statement of the loaded file - and the message of the actual exception - Also are there any baseUrl/path definitions in your setup? They will be applied differently if loaded via https... So dependencies will be resolved using a different strategy.
Apr 8, 2018 at 15:33 comment added Louis @DarrenSweeney What's the result of the network request for loading that file? In the debugger, check both the HTTP status on the response and the contents actually transmitted (which could be different from the content you expect). If the network request fails or you get the wrong content then there's nothing RequireJS can do to fix that, and the issue is elsewhere.
Apr 8, 2018 at 10:30 comment added StudioTime @Sebastian as I said in OP, it works fine if I include it locally as opposed to absolutely, so the file is good, yes the file uses define. Thanks for break-on-exception idea
Apr 8, 2018 at 9:30 comment added Sebastian Is myFiles.js actually an AMD file that uses define? How do you load the main script? Under what URL? Try "break-on-exception" in your debugger and see what the actual problem is. You won't get the stacktrace because of cross-origin restrictions otherwise, most likely there is a simple error in myFiles.js and you just don't see the stacktrace..
Apr 8, 2018 at 8:54 comment added StudioTime Thanks @TarunLalwani will try those, thought I'd exhausted everything but the shim approach is interesting
Apr 8, 2018 at 8:45 comment added Tarun Lalwani See if these help stackoverflow.com/questions/21624503/…, stackoverflow.com/questions/9759151/…, coderwall.com/p/y4vk_q/requirejs-and-external-scripts
Apr 8, 2018 at 8:37 history edited StudioTime
edited tags
S Apr 8, 2018 at 6:29 history bounty started StudioTime
S Apr 8, 2018 at 6:29 history notice added StudioTime Draw attention
Apr 5, 2018 at 12:06 history edited StudioTime
edited tags
Apr 5, 2018 at 10:52 history asked StudioTime CC BY-SA 3.0