stuff
This commit is contained in:
parent
9bb86ef9d4
commit
c1c1e357eb
|
@ -1343,7 +1343,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
|
|||
type = type.charAt(0).toUpperCase() + type.slice(1);
|
||||
if (typeof plugin["process" + type] == "function") {
|
||||
// REMOVE
|
||||
let isOldType = plugin["process" + type].toString().split("\n")[0].replace(/ /g, "").split(",")[2] == "returnvalue";
|
||||
let isOldType = (plugin["process" + type].toString().split("\n")[0].replace(/ /g, "").split(",")[2] || "").indexOf("returnvalue") > -1;
|
||||
if (isOldType) {
|
||||
if (e.methodname == "render") {
|
||||
if (e.returnvalue) plugin["process" + type](e.instance, null, e.returnvalue, [e.methodname]);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue