Object
# File lib/less/loader.rb, line 11 def initialize context_wrapper = Less::JavaScript.context_wrapper.instance @context = context_wrapper.unwrap @context['process'] = Process.new @context['console'] = Console.new path = Pathname(__FILE__).dirname.join('js', 'lib') @environment = CommonJS::Environment.new(@context, :path => path.to_s) @environment.native('path', Path.new) @environment.native('util', Sys.new) @environment.native('url', Url.new) @environment.native('http', Http.new) @environment.native('fs', Fs.new) end
Generated with the Darkfish Rdoc Generator 2.