Sha256: 65046f3a567eb37c9b34f89d65872bfe9b1c376a772ac6fbb6cda7173cf49053

Contents?: true

Size: 250 Bytes

Versions: 24

Compression:

Stored size: 250 Bytes

Contents

/**
 * Module dependencies.
 */

var css = require('../')
  , str = require('fs').readFileSync(__dirname + '/functions.styl', 'utf8');

css.render(str, { filename: 'functions.styl' }, function(err, css){
  if (err) throw err;
  console.log(css);
});

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
stylus-source-0.23.0 vendor/examples/functions.js
stylus-source-0.22.6 vendor/examples/functions.js
stylus-source-0.22.5 vendor/examples/functions.js
stylus-source-0.22.4 vendor/examples/functions.js
stylus-source-0.22.3 vendor/examples/functions.js
stylus-source-0.22.2 vendor/examples/functions.js
stylus-source-0.22.1 vendor/examples/functions.js
stylus-source-0.22.0 vendor/examples/functions.js
stylus-source-0.21.2 vendor/examples/functions.js
stylus-source-0.21.1 vendor/examples/functions.js
stylus-source-0.21.0 vendor/examples/functions.js
stylus-source-0.20.1 vendor/examples/functions.js
stylus-source-0.20.0 vendor/examples/functions.js
stylus-source-0.19.8 vendor/examples/functions.js
stylus-source-0.19.7 vendor/examples/functions.js
stylus-source-0.19.6 vendor/examples/functions.js
stylus-source-0.19.5 vendor/examples/functions.js
stylus-source-0.19.4 vendor/examples/functions.js
stylus-source-0.19.3 vendor/examples/functions.js
stylus-source-0.19.2 vendor/examples/functions.js