Describe the bug
When a pom attaches another that uses a plugin with Javascript the browser throws errors because the Javascript doesn't get included.
To Reproduce
Voom::Presenters.define(:some_pom) do
plugin :some_plugin_with_js
end
Voom::Presenters.define(:another) do
attach :some_pom
end
Render :another in browser and there will be a Javascript undefined error. Currently including the plugin in :another loads the files and clears the error, but this isn't ideal.
Expected behavior
The POM renders clean. JS from atached pom's plugins is included.