Skip to content

Commit

Permalink
Turns out that doesn't work as wanted, need to do the full path
Browse files Browse the repository at this point in the history
  • Loading branch information
Snugug committed Jul 28, 2014
1 parent 952db22 commit 68e2c36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/breakpoint.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
breakpoint_path = File.expand_path('../stylesheets', __FILE__)
breakpoint_sass_path = File.expand_path('../stylesheets', __FILE__)
breakpoint_path = "#{File.dirname(__FILE__)}/.."

if (defined? Compass)
require 'sassy-maps'
Compass::Frameworks.register(
"breakpoint",
:stylesheets_directory => breakpoint_path
:path => breakpoint_path
)
else
ENV["SASS_PATH"] = [ENV["SASS_PATH"], breakpoint_path].compact.join(File::PATH_SEPARATOR)
end

module Breakpoint
VERSION = "2.4.4"
VERSION = "2.4.5"
DATE = "2014-07-24"
end

0 comments on commit 68e2c36

Please sign in to comment.