Permalink
Browse files

updated grammarInvoker to ometa 0.2.0 api

  • Loading branch information...
1 parent 17c9390 commit 71bb06262d4118a347fb234ed6892aec875c3c21 @bmavity committed Sep 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/grammarInvoker.js
@@ -16,7 +16,7 @@ var getParser = function(callback) {
createdParser = parser;
callback(null, createdParser);
}
- }, 'selectors_group');
+ });
}
});
} else {
@@ -29,7 +29,7 @@ var parse = function(scssFile, callback) {
if(err) {
callback(err);
} else {
- parser.parse(scssFile, function(err, css) {
+ parser.parse(scssFile, 'selectors_group', function(err, css) {
sys.puts(css.toString());
});
}

0 comments on commit 71bb062

Please sign in to comment.