Sha256: ad9b5e5b214bda16bc01358484462c66c22fd9fbfa76ab9cd63492b24b9033e7

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 KB

Contents

module Compass::SassExtensions::Functions
end

%w(
  selectors    enumerate  urls      display
  inline_image image_size constants gradient_support
  font_files   lists      colors    math
  sprites      env        cross_browser_support
).each do |func|
  require "compass/sass_extensions/functions/#{func}"
end

module Sass::Script::Functions
  include Compass::SassExtensions::Functions::Selectors
  include Compass::SassExtensions::Functions::Enumerate
  include Compass::SassExtensions::Functions::Urls
  include Compass::SassExtensions::Functions::Display
  include Compass::SassExtensions::Functions::InlineImage
  include Compass::SassExtensions::Functions::ImageSize
  include Compass::SassExtensions::Functions::GradientSupport::Functions
  include Compass::SassExtensions::Functions::FontFiles
  include Compass::SassExtensions::Functions::Constants
  include Compass::SassExtensions::Functions::Lists
  include Compass::SassExtensions::Functions::Colors
  include Compass::SassExtensions::Functions::Math
  include Compass::SassExtensions::Functions::Sprites
  include Compass::SassExtensions::Functions::CrossBrowserSupport
  include Compass::SassExtensions::Functions::Env
end

# Wierd that this has to be re-included to pick up sub-modules. Ruby bug?
class Sass::Script::Functions::EvaluationContext
  include Sass::Script::Functions
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-sourcemaps-0.12.3.sourcemaps.a4836f1 lib/compass/sass_extensions/functions.rb
compass-sourcemaps-0.12.2.sourcemaps.57a186c lib/compass/sass_extensions/functions.rb