Sha256: a96ac5c0558a392a341b04853fdbc80c60ef1c3e6407095a6d16d317e9b79a48
Contents?: true
Size: 686 Bytes
Versions: 8
Compression:
Stored size: 686 Bytes
Contents
/** * Module dependencies. */ var stylus = require('../') , utils = stylus.utils , nodes = stylus.nodes , str = require('fs').readFileSync(__dirname + '/test.styl', 'utf8') , fs = require('fs'); stylus(str) //.import(__dirname + '/mixins/vendor') .set('filename', __dirname + '/test.styl') // .set('compress', true) // .set('firebug', true) // .set('linenos', true) // .set('warn', true) .set('include css', true) .define('string', 'some string') .define('number', 15.5) .define('some-bool', true) .define('list', ['Helvetica Neue', 'Helvetica', 'sans-serif']) .render(function(err, css, js){ if (err) throw err; process.stdout.write(css); });
Version data entries
8 entries across 8 versions & 1 rubygems