johnny / johnny/jquery-sortable

application.css and application.js are automatically included as top level assets in Rails apps.

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.5k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

Within the source directory are Sprockets-style `application.js`, `application.css` files. If you install the jquery-sortable library into a directory on the sprockets load path (IE, via rails-bower) those files are automatically compiled as top level assets, which doesn't seem right to me.

I think the easiest way to fix this would be to ensure that the Sprockets / Test files are not-included in a bower install - but I'm not sure if this problem is going to occur in other environments.

That said, as far as I can tell, those files are used only for testing and won't work in any NON-Rails environment, so they should probably included in the ignore list in any case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.