You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
i guess callback is "undefined" - how error says. haven't yet found what's causing this error, because it's happening at random time, can't see pattern yet. Reviewed all code connected with setTimeout and setInterval, Immediate not used anywhere. It might be happening, that function was not there at time when "setInterval" was called, made some code re-order and it seems error is gone now.
I think there should be if-clause with check about callback
if(typeof callback !== 'function'){
console.warn('#4dfs4df callback function is not a function:');
console.warn(callback);
}
i like this way of console warning/logs/error because it gives some ID to find this error in code + gives current value of callback, that was passed to f-ction. Adding backtrace would be lovely too.
Console:
![image](https://cloud.githubusercontent.com/assets/2733862/12971974/a808242e-d0a9-11e5-84a7-86fbf7d2993c.png)
File:
![image](https://cloud.githubusercontent.com/assets/2733862/12971979/bdbc08bc-d0a9-11e5-9b3a-71b096305ff6.png)
No other errors, just this comes time to time, somewhere setter is used incorrectly.
The text was updated successfully, but these errors were encountered: