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);
|
type = type.charAt(0).toUpperCase() + type.slice(1);
|
||||||
if (typeof plugin["process" + type] == "function") {
|
if (typeof plugin["process" + type] == "function") {
|
||||||
// REMOVE
|
// 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 (isOldType) {
|
||||||
if (e.methodname == "render") {
|
if (e.methodname == "render") {
|
||||||
if (e.returnvalue) plugin["process" + type](e.instance, null, e.returnvalue, [e.methodname]);
|
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