Hi,
I'm trying to integrate the Sencha IO to my Sencha Touch 2 project.
I followed the new documentation (many thanks to merrells
) but i'm getting some errors:
Uncaught TypeError: Cannot read property 'Io' of undefined
I put this code in my app.js
Code:
//<debug>
Ext.Loader.setPath({
'Ext': 'sdk/src',
'Ext.io': 'lib/io/src/io',
'Ext.cf': 'lib/io/src/cf'
});
//</debug>
Ext.io.Io.setup({
//logLevel: 'debug',
appId: 'myID',
appSecret: 'mySecret
});
And in index.html i add this :
Code:
<script src="lib/io/sencha-io.js" type="text/javascript" charset="utf-8"></script>