1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    2
    Vote Rating
    0
    diablo341 is on a distinguished road

      0  

    Default Unanswered: Newbie and stuck

    Unanswered: Newbie and stuck


    I just started with v1.1.1 when I saw that RC 2 is out. I tried to do the most basic example, but it's not showing the alert or the panel. I'm not sure what I'm missing. This code works with the sencha-touch.js from the v1.1.1 download, but not if I change it to reference sencha-touch-js or sencha-touch-debug.js from the RC 2 download.

    Any ideas?

    Code:
    <!DOCTYPE html>
    
    
    <html>
    <head>
        <title>Hello World</title>
        <link href="sencha-touch.css" rel="stylesheet" />
        <script src="sencha-touch.js"></script>
        
        <script>
            new Ext.Application ({
                name: 'HelloWorld',
                launch: function () {
                    alert('Hello World');
                    
                    new Ext.Panel ({
                        fullscreen: true,
        
                        dockedItems: [{xtype:'toolbar', title:'My Toolbar'}]
        
                    });
                }
            });
        
        </script>
    </head>
    <body></body>
    </html>

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    2
    Vote Rating
    0
    diablo341 is on a distinguished road

      0  

    Default


    Sorry to waste everyone's time. I mistakenly capitalized Application. Didn't complain in sencha 1.1, but did in sencha 2.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar