__renderFrameFuncs function
This commit is contained in:
parent
7015b0fbee
commit
568e98e720
@ -276,8 +276,13 @@ control.prototype.setRequestAnimationFrame = function () {
|
||||
var renderFrameFuncs = core.plugin.__renderFrameFuncs || [];
|
||||
renderFrameFuncs.forEach(function (t) {
|
||||
try {
|
||||
if (core.plugin[t])
|
||||
core.plugin[t](timestamp);
|
||||
if (t instanceof Function) {
|
||||
t(timestamp);
|
||||
}
|
||||
else if (typeof t == 'string') {
|
||||
if (core.plugin[t])
|
||||
core.plugin[t](timestamp);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
console.log(e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user