Sha256: 233627d51e54279f0f70a808a359f7f91b4228dff3f32fc4f05c5323acd6fac3
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require 'sprockets' require 'sprockets/less/version' require 'sprockets/less/template' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprockets-less-0.6.1 | lib/sprockets/less.rb |