File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## unreleased
4
+
5
+ * Register scss and sass extensions for rake notes
6
+
3
7
## 4.0.1 (Oct 15, 2013)
4
8
5
9
* Remove Post Processors from asset evaluation.
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ module SassContext
28
28
# to the rails generate command
29
29
config . app_generators . stylesheet_engine config . sass . preferred_syntax
30
30
31
+ if config . respond_to? ( :annotations )
32
+ config . annotations . register_extensions ( "scss" , "sass" ) { |annotation | /\/ \/ \s *(#{ annotation } ):?\s *(.*)$/ }
33
+ end
34
+
31
35
# Remove the sass middleware if it gets inadvertently enabled by applications.
32
36
config . after_initialize do |app |
33
37
app . config . middleware . delete ( Sass ::Plugin ::Rack ) if defined? ( Sass ::Plugin ::Rack )
You can’t perform that action at this time.
0 commit comments