Sha256: 689e5ec292dfaeeee711995bfba2be34e7536dd74dc03031655ce9896f90ec7b

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

require 'sprockets/less/version'
require 'sprockets/less/template'
require 'sprockets/engines'

module Sprockets
  module Less
    autoload :Importer,   'sprockets/less/importer'

    class << self
      # Global configuration for `Less::Parser` instances
      attr_accessor :options

      # When false, the asset path helper provided by
      # `sprockets-helpers` will not be added as Less functions.
      # `true` by default.
      attr_accessor :add_less_functions
    end

    @options = {}
    @add_less_functions = true
  end

  register_engine '.less', Less::LessTemplate
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sprockets-less-0.6.0 lib/sprockets/less.rb
sprockets-less-0.5.3 lib/sprockets/less.rb
sprockets-less-0.5.2 lib/sprockets/less.rb