sorry, this thing didn't notify me at all, and I'm just coming back to this now. Take a look at https://github.com/murrayju/prettydiff-test
, that is how I would expect a requirejs compatible library to be used, and it does not work. Your https://github.com/prettydiff/prettydiff/blob/master/test/barebones/barebones_requirejs.js
example isn't really valid, because it depends on that global variable and the synchronous execution of just using a single
. RequireJS is meant to be used async (AMD), and
ing a module that depends on
should just work (but doesn't). Also, there should really just be a single dependency for consumers to use, not a whole bunch of internal files.