Sha256: 7db62a96112a53cee68a46f6c0af534354b49020dd9573dd6e20c820b9f99acd

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

/**
 * Module dependencies.
 */

var stylus = require('../')
  , fs = require('fs')
  , path = 'testing/small.styl'
  , str = fs.readFileSync(path, 'utf8');

var start = new Date;

str = str.replace(/\s*,\s*/g, ', ');

stylus(str)
  .set('filename', path)
  .render(function(err, css){
    if (err) throw err;
    console.log(css);
    // console.log('%dms', new Date - start);
  });

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stylus-source-0.26.1 vendor/testing/index.js
stylus-source-0.26.0 vendor/testing/index.js
stylus-source-0.25.0 vendor/testing/index.js