Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (extjs)
Viewing all articles
Browse latest Browse all 6

Ext Base to speed up development?

$
0
0

Hello guys,

i tried to use ext-base to speed up development, but got the following error:

Titanium.include('libraries/extjs/adapter/ext/ext-base.js');
 
Error:
[6,0] file:///android_asset/Resources/.../ext/ext-base.js
Message:
Too deep recursion while parsing
Why do i want to use ext-base?

Perhaps you know the recursive object notation from ExtJS this is very effective for writing large and complex interfaces.

Example:

var mainWindow = Titanium.UI.createTabGroup({
    tabs : [
        {  
            xtype : 'tab',
            icon:'KS_nav_ui.png',
            title:'Contacts',
            window:{  
                xtype : 'panel',
                title:'Tab 1',
                backgroundColor:'#fff'
            })
        },
        {  
            xtype : 'tab',
            icon:'KS_nav_views.png',
            title:'Contacts',
            window:{  
                xtype : 'panel',
                title:'Tab 2',
                backgroundColor:'#fff'
            }
        }
    ]
});
mainWindow.open();
So my main goal is to have the same api for sencha touch/extjs as for appcelerator.

Thanks for any hint.

Best regards Kay


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>