Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
README: Updates example with missing error info.
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Dec 28, 2014
1 parent b6d4599 commit 8075bd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ sass.render({
// error is an object: v2 change
console.log(error.message);
console.log(error.code);
console.log(error.line);
console.log(error.column); // new in v2
},
importer: function(url, prev, done) {
// url is the path in import as is, which libsass encountered.
Expand Down

0 comments on commit 8075bd6

Please sign in to comment.