FrontPage  Index  Search  Changes  Atom  PageRank  Login

Sassのフックメソッド

Sassのフックメソッド

http://sass-lang.com/docs/yardoc/Sass/Plugin/Compiler.html より。

on_compilation_error {|error, template, css| ... }
Register a callback to be run when there’s an error compiling a Sass file.
Sassファイル、SCSSファイルのコンパイルに失敗した時に実行される。
on_creating_directory {|dirname| ... }
Register a callback to be run when Sass creates a directory into which to put CSS files.
on_deleting_css {|filename| ... }
Register a callback to be run when Sass deletes a CSS file.
on_not_updating_stylesheet {|template, css| ... }
Register a callback to be run when Sass decides not to update a stylesheet.
on_template_created {|template| ... }
Register a callback to be run when Sass detects that a new template has been created.
on_template_deleted {|template| ... }
Register a callback to be run when Sass detects that a template has been deleted.
on_template_modified {|template| ... }
Register a callback to be run when Sass detects that a template has been modified.
on_updated_stylesheet {|template, css| ... }
Register a callback to be run after a single stylesheet is updated.
on_updating_stylesheet_with_deprecation_warning(&block)
(also: #on_updating_stylesheet)
on_updating_stylesheets {|individual_files| ... }
Register a callback to be run after stylesheets are mass-updated.
Last modified:2012/02/15 01:16:16
Keyword(s):[Ruby] [Sass]
References:
Referer | 307 | 10 | 5 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |