Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 994 Bytes
1 | unless defined?(Sass::RAILS_LOADED) |
2 | Sass::RAILS_LOADED = true |
3 | |
4 | Sass::Plugin.options.merge!(:template_location => Haml::Util.rails_root + '/public/stylesheets/sass', |
5 | :css_location => Haml::Util.rails_root + '/public/stylesheets', |
6 | :cache_location => Haml::Util.rails_root + '/tmp/sass-cache', |
7 | :always_check => Haml::Util.rails_env != "production", |
8 | :full_exception => Haml::Util.rails_env != "production") |
9 | |
10 | if defined?(ActionDispatch::Callbacks) && |
11 | defined?(ActionDispatch::Callbacks.to_prepare) |
12 | # Rails >= 3.0.0 |
13 | ActionDispatch::Callbacks.to_prepare(:sass_process) {Sass::Plugin.check_for_updates} |
14 | else |
15 | module ActionController |
16 | class Base |
17 | alias_method :sass_old_process, :process |
18 | def process(*args) |
19 | Sass::Plugin.check_for_updates |
20 | sass_old_process(*args) |
21 | end |
22 | end |
23 | end |
24 | end |
25 | end |