1 | var exports = module.exports;
|
2 |
|
3 |
|
4 | exports.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 |
|
10 | exports.parse = function(str, line, parser, types) {
|
11 | return true;
|
12 | };
|
13 |
|
14 | exports.ends = true; |
\ | No newline at end of file |