Status/error refactor. Fix firefox bugs.
- All state/status updates go through updateState routine which updates the status line also. - Old firefox (and opera) don't support canvas createImageData, so use getImageData as replacement. - Add console.warn and console.error stubs so that firefox without firebug doesn't crap out. - If no WebSockets then error if no flash or if URL is location (flash will refuse to load the object for security reasons).
This commit is contained in:
@@ -2,6 +2,8 @@ if ((!window.console) || (! /__debug__$/i.test(document.location.href))) {
|
||||
// non-debug mode, an empty function
|
||||
window.console = window.console || {};
|
||||
window.console.log = function(message) {};
|
||||
window.console.warn = function(message) {};
|
||||
window.console.error = function(message) {};
|
||||
}
|
||||
|
||||
function dirObj(obj, depth, parent) {
|
||||
|
||||
Reference in New Issue
Block a user