hvelarde
(hvelarde)
6
and that's exactly what you get when you skip the resource registries: you have a viewlet injecting the resources site wide.
just be aware you may need to avoid some common issues with RequireJS, especially the Mismatched anonymous define() modules.
better to include you code in a var, as described here: