JSFiddle - React, Tailwind, and code Playground
by el_chief
HTML
<link rel="stylesheet" href="http://cdn.sencha.io/extjs/4.1.0.b1/resources/css/ext-all-gray.css">
<script src="http://cdn.sencha.io/extjs/4.1.0.b1/ext-all-debug.js"></script>
JavaScript
Ext.Error.handle = function(){
return true;
}
window.onerror=function(){
return true;
}
Ext.define('App.view.Viewport', {
extend: 'Ext.container.Viewport',
layout: {
type: 'border'
},
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'container',
region: 'center'}
]
});
me.callParent(arguments);
}
});
Ext.application({
name: 'App',
autoCreateViewport: true,
launch: function() {
console.log('launched');
}
});