Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting RequireJS async plugin working with almond.js

I read the following article on how to get Google Maps, and gmaps.js to work with RequireJS. However, when I build my project, RequireJS is swapped with Almond. In the article above, it states that Almond will not work with the RequireJS async plugin. Without the async plugin, Google's dependencies are not loaded, and gmaps.js throw an error.

Is there a way to work around the issue and still load Google maps code in a project that uses Almond rather than RequireJS?

like image 905
TYRONEMICHAEL Avatar asked Dec 16 '12 05:12

TYRONEMICHAEL


1 Answers

Yeah I'm finding this too. Dynamic libraries cannot be loaded it says. I guess you'll have to download it locally.

like image 197
Eric Novins Avatar answered Oct 24 '22 10:10

Eric Novins