/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

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