mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 18:32: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 Snippets = require('./snippets/snippets.js');
|
||||||
|
|
||||||
const execute = function(val, brew){
|
const execute = function(val, brew){
|
||||||
if(snippet.name == 'Table of Contents')
|
if(_.isFunction(val)) return val(brew);
|
||||||
return val(brew);
|
|
||||||
else if(_.isFunction(val)) return val();
|
|
||||||
return val;
|
return val;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user