Skip to content

Commit

Permalink
Merge pull request #187 from varya/features/syntax-in-splitter
Browse files Browse the repository at this point in the history
Provide syntax before parsing KSS
  • Loading branch information
varya committed Nov 14, 2014
2 parents aaadeda + 9e48ee3 commit b143b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/kss.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function processBlock(block, options, json) {
function processFile(contents, syntax, options, json) {
var filePromise = Q.defer(),
blockPromises = [],
splittedFile = kssSplitter.getBlocks(contents);
splittedFile = kssSplitter.getBlocks(contents, syntax);

// Process every block in the current file
splittedFile.forEach(function(block) {
Expand Down

0 comments on commit b143b06

Please sign in to comment.