Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone sprockets support #801

Merged
merged 1 commit into from
Dec 17, 2014
Merged

Conversation

aderyabin
Copy link
Contributor

I suggest to use bootstrap-sass only with Sprockets. It useful for Rack-based application.
Here is sample application.

@@ -5,6 +5,7 @@ class << self
def load!
register_compass_extension if compass?
register_rails_engine if rails?
register_sprockets if sprockets?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid appending twice on Rails, shouldn't this be:

if rails?
  register_rails_engine?
elsif sprockets?
  register_sprockets
end

@aderyabin
Copy link
Contributor Author

@glebm Fixed!

glebm added a commit that referenced this pull request Dec 17, 2014
@glebm glebm merged commit 409ad55 into twbs:master Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants