PDA

View Full Version : A starting point



dariomadrid
22 Mar 2012, 11:31 PM
Hello,

Can anyone point me how to include de Ext.io source into my ST2 app?
I've been looking for how to do this, but there's no information.
Do I have to include the "deploy" dir into src directory? Or create a new src directory merging all the files?


I?ve the loader like this:


Ext.Loader.setPath({ 'Ext': 'sdk/src', 'Ext.io': 'sdk/io/src'});

Is this correct?

Also when I include in my app.json the file "sencha-io-debug.js" I get this error:

Uncaught TypeError: Cannot read property 'Batch' of undefined
(sencha-io-debug.js line 2)

Thx.

Möhre
23 Mar 2012, 12:06 AM
The last IO-Release from November 2011 only works with an older ST 2.0 RC which has many bugs regarding localstore.

At this point of time it makes no sense to use or try Sencha.io until the next release comes out.

=> http://www.sencha.com/forum/showthread.php?176395-sencha.io-amp-sencha-touch-2.0-PR4

dariomadrid
23 Mar 2012, 12:10 AM
OK!

We'll wait until the next release.

Thx.