mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 18:56:54 +00:00
Remove extra param sent to execute()
This commit is contained in:
1 parent
69a3d04bb7
commit
62532f788e
1 file changed
+2
-2
@@ -15,8 +15,8 @@ ThemeSnippets['V3_5eDMG'] = require('themes/V3/5eDMG/snippets.js');
|
||||
ThemeSnippets['V3_Journal'] = require('themes/V3/Journal/snippets.js');
|
||||
ThemeSnippets['V3_Blank'] = require('themes/V3/Blank/snippets.js');
|
||||
|
||||
const execute = function(val, brew, params){
|
||||
if(_.isFunction(val)) return val(brew, params);
|
||||
const execute = function(val, props){
|
||||
if(_.isFunction(val)) return val(props);
|
||||
return val;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user