mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 12:17:02 +00:00
Revert "Fix duplicated text from Class Feature snippet"
This reverts commit 9519a0b4e4.
This commit is contained in:
1 parent
9519a0b4e4
commit
cbbb7292d9
1 file changed
+1
-3
@@ -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