I am currently creating an application in which the interface does a lot of hard work. To keep everything neat and organized, I would like to use requirejs . However, to use require.js to the full, all the modules that I use must meet AMD requirements.
This means that every time the updated module is updated, I need to either wait for the appearance of the version compatible with AMD, or do it myself (which I do not currently know how to do).
This is a real rollback.
Looking at this https://github.com/jrburke/backbone/blob/optamd/backbone.js , it seems to me that creating a module such as AMD's Backbone is not as simple as wrapping a plugin in a common function.
Is there a more or less simple way to make the module compatible with AMD?
source
share