Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
Stop using autoload, require instead
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx committed Jun 2, 2012
1 parent f29b38c commit bab96ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/guard/sass.rb
@@ -1,14 +1,12 @@
require 'sass/plugin'

require 'guard'
require 'guard/guard'
require 'guard/watcher'
require 'sass/plugin'

module Guard
class Sass < Guard

autoload :Runner, 'guard/sass/runner'
autoload :Formatter, 'guard/sass/formatter'

DEFAULTS = {
:all_on_start => false,
:output => 'css',
Expand Down Expand Up @@ -110,3 +108,6 @@ def partial?(path)

end
end

require 'guard/sass/runner'
require 'guard/sass/formatter'

0 comments on commit bab96ab

Please sign in to comment.