UNPKG

350 BJavaScriptView Raw
1var exports = module.exports;
2
3
4exports.compile = function(compiler, args, content, parents, options, blockName) {
5 return 'if (_ctx._doorKeeper.getFlag(' + args.pop() + ')) { \n' +
6 compiler(content, parents, options, blockName) + '\n' +
7 '}';
8};
9
10exports.parse = function(str, line, parser, types) {
11 return true;
12};
13
14exports.ends = true;
\No newline at end of file