lib/renderer.js
function Renderer(str, options) {
  options = options || {};
  options.globals = options.globals || {};
  options.functions = options.functions || {};
  options.use = options.use || [];
  options.use = Array.isArray(options.use) ? options.use : [options.use];
  options.imports = [join(__dirname, 'functions')].concat(options.imports || []);
  options.paths = options.paths || [];
  options.filename = options.filename || 'stylus';
  options.Evaluator = options.Evaluator || Evaluator;
  this.options = options;
  this.str = str;
  this.events = events;
}
function Renderer(str, options) {
  options = options || {};
  options.globals = options.globals || {};
  options.functions = options.functions || {};
  options.use = options.use || [];
  options.use = Array.isArray(options.use) ? options.use : [options.use];
  options.imports = [join(__dirname, 'functions')].concat(options.imports || []);
  options.paths = options.paths || [];
  options.filename = options.filename || 'stylus';
  options.Evaluator = options.Evaluator || Evaluator;
  this.options = options;
  this.str = str;
  this.events = events;
}
function Renderer ( str , options ) { options = options || { } ; options . globals = options . globals || { } ; options . functions = options . functions || { } ; options . use = options . use || [ ] ; options . use = Array . isArray ( options . use ) ? options . use : [ options . use ] ; options . imports = [ join ( __dirname , 'functions' ) ] . concat ( options . imports || [ ] ) ; options . paths = options . paths || [ ] ; options . filename = options . filename || 'stylus' ; options . Evaluator = options . Evaluator || Evaluator ; this . options = options ; this . str = str ; this . events = events ; }
Initialize a new `Renderer` with the given `str` and `options`.

@param {String} str
@param {Object} options
@api public
Initialize a new Renderer with the given str and options .