Skip to content

Commit

Permalink
Fix default getSyntax
Browse files Browse the repository at this point in the history
This should hopefully work, closes #13
  • Loading branch information
mxstbr committed Sep 27, 2017
1 parent 5c66fd3 commit 135f5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function defaultFilter(block) {
*/
function defaultGetSyntax(block) {
if (block.getData) {
return block.getData().syntax;
return block.getData().get('syntax');
}

return null;
Expand Down

0 comments on commit 135f5ca

Please sign in to comment.