Including javascript libraries with just requirejs and now need for bundles

If you're developing an add-on and have come upon some frustration with the need to use registry.xml to declare special resources and bundles then you might like this approach.
It still makes use of requirejs but with a tiny bit less magic.

In the example I integrate Semantic UI with Plone using only RequireJS and standard browser resources. No resource registries were harmed in the process. If you don't mind including requirejs in your Plone 4 stuff this may actually allow you to build an add-on the same way for both Plone 4 and 5 (I think).