JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://dl.dropbox.com/u/1015920/Ext/Ext.ux.ajax.SimXhr.js"></script>
<script src="http://dl.dropbox.com/u/1015920/Ext/Ext.ux.ajax.Simlet.js"></script>
<script src="http://dl.dropbox.com/u/1015920/Ext/Ext.ux.ajax.JsonSimlet.js"></script>
<script src="http://dl.dropbox.com/u/1015920/Ext/Ext.ux.ajax.SimManager.js"></script>
JavaScript
/* handle errors that are thrown not using Ext.raise() */
window.onerror = function(msg, url, lineNumber) {
console.warn('%s\rurl: %s\rline: %d', msg, url, lineNumber);
return true; //true means don't propogate the error
}
Ext.application({
errorHandler:function(err){
console.warn(err);
return true;
},
launch: function() {
Ext.Error.notify = false; /* prevent ie6 and ie7 popup */
/* handle errors raised by Ext.Error.raise() */
Ext.Error.handle = this.errorHandler;
Ext.Error.raise('your children well');
//throw 'mama from the train';
}
});