1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/sass/plugin/generic.rb
2010-06-23 14:25:30 -07:00

15 lines
629 B
Ruby

# The reason some options are declared here rather than in sass/plugin/configuration.rb
# is that otherwise they'd clobber the Rails-specific options.
# Since Rails' options are lazy-loaded in Rails 3,
# they're reverse-merged with the default options
# so that user configuration is preserved.
# This means that defaults that differ from Rails'
# must be declared here.
unless defined?(Sass::GENERIC_LOADED)
Sass::GENERIC_LOADED = true
Sass::Plugin.options.merge!(:css_location => './public/stylesheets',
:always_update => false,
:always_check => true)
end