You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
332 B
15 lines
332 B
var sys = require('sys') |
|
, fs = require('fs') |
|
, path = require('path') |
|
, scss = require('../') |
|
; |
|
|
|
fs.readFile(path.join(__dirname, 'blog.scss'), function(err, scssFile) { |
|
scss.parse(scssFile.toString(), function(err, css) { |
|
if(err) { |
|
sys.puts(sys.inspect(err)); |
|
} else { |
|
sys.puts(css); |
|
} |
|
}); |
|
});
|
|
|