Picture of Lars Halkjær
adapt-devtools update?
by Lars Halkjær - Thursday, 5 October 2017, 2:12 PM
 

The Kineo adapt-devtools extension is a very useful tool, that makes it easier to develop and test Adapt courses.

But something seems to be broken after the latest framework update.
It seems that the "jquery.js" file referenced in the "assets/map.html" file is the problem (it cannot be loaded).

I suspect that the problem is that the framework, after dropping IE8 support, is using jquery v2.
I tried changing the line:

<script type="text/javascript" src="../libraries/jquery.js"></script>

to:

<script type="text/javascript" src="../libraries/jquery.v2.min.js"></script>

and that seemed to do the trick - but that is just me hacking, and I am not sure if there is anything else that needs to be changed (or it needs t be fixed in another way).

Picture of Matt Leathes
Re: adapt-devtools update?
by Matt Leathes - Thursday, 5 October 2017, 3:03 PM
 

Hi Lars

Thanks for this, have logged that here. I think you are quite correct in your findings.

The 'master' branch of Adapt Framework is in a slight state of flux at the moment, if you want to be cautious you might want to use the 'legacy' branch until we formally release Adapt v3.0. If you're using the adapt CLI just type 'legacy' when it asks you which branch you want to use.

Picture of Matt Leathes
Re: adapt-devtools update?
by Matt Leathes - Friday, 6 October 2017, 11:45 AM
 

Could you give devtools v2.1.16 a try and see if that fixes it for you?