It is impossible to load additional JS libraries in an Ajax response and then call that code through Ajax commands, because
Drupal.ajax does not guarantee that the JS library will already have loaded.
See #14 and #15 for details.
User interface changes
Original report by [username]
Thanks for your module, it works perfect for me.
But I found there one small bug there: if all my .js files are mapped to the external CDN, ajax redirects doesn't execute. After some tests I found that CDN rewrites all js urls, even for ajax. So I attached a small patch that solved this problem for me.
|#31||1988968-31.patch||6.11 KB||Wim Leers|
|#31||Screen Shot 2016-09-26 at 15.38.31.png||379.91 KB||Wim Leers|