mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
lotus -> hanami
This commit is contained in:
parent
a1c5ec516b
commit
489b6f2b80
1 changed files with 6 additions and 6 deletions
|
@ -7,8 +7,8 @@ module Bootstrap
|
||||||
|
|
||||||
if rails?
|
if rails?
|
||||||
register_rails_engine
|
register_rails_engine
|
||||||
elsif lotus?
|
elsif hanami?
|
||||||
register_lotus
|
register_hanami
|
||||||
elsif sprockets?
|
elsif sprockets?
|
||||||
register_sprockets
|
register_sprockets
|
||||||
elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
|
elsif defined?(::Sass) && ::Sass.respond_to?(:load_paths)
|
||||||
|
@ -53,8 +53,8 @@ module Bootstrap
|
||||||
defined?(::Rails)
|
defined?(::Rails)
|
||||||
end
|
end
|
||||||
|
|
||||||
def lotus?
|
def hanami?
|
||||||
defined?(::Lotus)
|
defined?(::Hanami)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
@ -73,8 +73,8 @@ module Bootstrap
|
||||||
require 'bootstrap-sass/engine'
|
require 'bootstrap-sass/engine'
|
||||||
end
|
end
|
||||||
|
|
||||||
def register_lotus
|
def register_hanami
|
||||||
Lotus::Assets.sources << assets_path
|
Hanami::Assets.sources << assets_path
|
||||||
end
|
end
|
||||||
|
|
||||||
def register_sprockets
|
def register_sprockets
|
||||||
|
|
Loading…
Add table
Reference in a new issue