Browse files

simplified lib structure

  • Loading branch information...
1 parent af27eb4 commit 6e26f53003490c3be93c57c3512484b1bc773fd3 Eric Meyer committed Apr 25, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −1 lib/susy.rb
  2. +0 −5 lib/susy/compass_plugin.rb
View
5 lib/susy.rb
@@ -1 +1,4 @@
-require File.join(File.dirname(__FILE__), 'susy', 'compass_plugin')
+require 'compass'
+Compass::Frameworks.register('susy',
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'sass'),
+ :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates'))
View
5 lib/susy/compass_plugin.rb
@@ -1,5 +0,0 @@
-options = Hash.new
-options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass'))
-options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates'))
-
-Compass::Frameworks.register('susy', options)

0 comments on commit 6e26f53

Please sign in to comment.