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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user