Skip to content

Commit

Permalink
Updating Stylus to version 0.27.1 (includes API changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBurnham authored and n1mmy committed Jul 10, 2012
1 parent 680220e commit 6081f17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/generate-dev-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ npm install optimist@0.3.1
npm install coffee-script@1.3.1
npm install less@1.3.0
npm install sass@0.5.0
npm install stylus@0.25.0
npm install stylus@0.27.1
npm install mime@1.2.5
npm install semver@1.0.13
npm install handlebars@1.0.5beta
Expand Down
4 changes: 3 additions & 1 deletion packages/stylus/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Package.register_extension(

var contents = fs.readFileSync(source_path);

stylus.render(contents.toString('utf8'), { filename: source_path }, function(err, css) {
stylus(contents.toString('utf8'))
.set('filename', source_path)
.render(function(err, css) {
if (err) {
bundle.error('Stylus compiler error: ' + err.message);
return;
Expand Down

0 comments on commit 6081f17

Please sign in to comment.