Sha256: 994303df8dc31533134346f27073f7d8f62a7044f8f3beeaa4979e348f9fa699

Contents?: true

Size: 257 Bytes

Versions: 24

Compression:

Stored size: 257 Bytes

Contents

/**
 * Module dependencies.
 */

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

css.render(str, { filename: __dirname + '/import.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/import.js
stylus-source-0.22.6 vendor/examples/import.js
stylus-source-0.22.5 vendor/examples/import.js
stylus-source-0.22.4 vendor/examples/import.js
stylus-source-0.22.3 vendor/examples/import.js
stylus-source-0.22.2 vendor/examples/import.js
stylus-source-0.22.1 vendor/examples/import.js
stylus-source-0.22.0 vendor/examples/import.js
stylus-source-0.21.2 vendor/examples/import.js
stylus-source-0.21.1 vendor/examples/import.js
stylus-source-0.21.0 vendor/examples/import.js
stylus-source-0.20.1 vendor/examples/import.js
stylus-source-0.20.0 vendor/examples/import.js
stylus-source-0.19.8 vendor/examples/import.js
stylus-source-0.19.7 vendor/examples/import.js
stylus-source-0.19.6 vendor/examples/import.js
stylus-source-0.19.5 vendor/examples/import.js
stylus-source-0.19.4 vendor/examples/import.js
stylus-source-0.19.3 vendor/examples/import.js
stylus-source-0.19.2 vendor/examples/import.js