0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 18:12:40 +00:00

Revert "Fix duplicated text from Class Feature snippet"

This reverts commit 9519a0b4e4.
This commit is contained in:
Rae2che5
2018-05-11 20:41:47 +01:00
parent 9519a0b4e4
commit cbbb7292d9

View File

@@ -7,9 +7,7 @@ const cx = require('classnames');
const Snippets = require('./snippets/snippets.js');
const execute = function(val, brew){
if(snippet.name == 'Table of Contents')
return val(brew);
else if(_.isFunction(val)) return val();
if(_.isFunction(val)) return val(brew);
return val;
};