Sha256: f2d410874d8092710ea6567d1fbefc8cca4e956d34970d70b08931464c04b588

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

base_directory = File.expand_path(File.join(File.dirname(__FILE__), '..'))
MathSass_stylesheets_path = File.join(base_directory, 'dist')

if (defined? Compass)
  Compass::Frameworks.register('MathSass', :stylesheets_directory => MathSass_stylesheets_path)
else
  # compass not found, register on the Sass path via the environment.
  if ENV.has_key?("SASS_PATH")
    ENV["SASS_PATH"] = ENV["SASS_PATH"] + File::PATH_SEPARATOR + MathSass_stylesheets_path
  else
    ENV["SASS_PATH"] = MathSass_stylesheets_path
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
MathSass-0.9.5 lib/MathSass.rb
MathSass-0.9.4 lib/MathSass.rb
MathSass-0.9.3 lib/MathSass.rb
MathSass-0.9.2 lib/MathSass.rb