PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 9unless defined?(Sass::GENERIC_LOADED)
10  Sass::GENERIC_LOADED = true
11
12  Sass::Plugin.options.merge!(:css_location   => './public/stylesheets',
13                              :always_update  => false,
14                              :always_check   => true)
15end