grunt-yyfrontmonitor-util
Version:
22 lines (15 loc) • 467 B
JavaScript
/**
* Created by zhengqiguang on 15/7/28.
*/
window.__FEQUALITY__ = {};
window.__FEQUALITY__.errorQueue = [];
window.__FEQUALITY__.loadSrcQueue = [];
window.__FEQUALITY__.loadCallBack = function(){
this.setAttribute("onload",null);
this.setAttribute("onreadystatechange",null);
window.__FEQUALITY__.loadSrcQueue.push(this.src);
}
window.onerror = function(){
window.__FEQUALITY__.errorQueue.push(arguments);
return "yyF2E_ErrorRerport";
}