/scalate-jruby/src/main/resources/haml-3.0.25/lib/sass/plugin/generic.rb
http://github.com/scalate/scalate · Ruby · 15 lines · 6 code · 2 blank · 7 comment · 0 complexity · f85f5d1c486f7c825fb3acea9c8e6d13 MD5 · raw file
- # 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