1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    68
    Vote Rating
    0
    gigas01 is on a distinguished road

      0  

    Default Unanswered: Why is this loading that i didn't coded!!!

    Unanswered: Why is this loading that i didn't coded!!!


    Oh man

    I'm frustrated.

    I have a problem just running the hello world!!

    man...

    i can't solve the problem

    i just copy pasted all the files, but still not working!!

    index.html
    Code:
    <!DOCTYPE html>
    <html>
    	<head>
    		<meta http-equiv="Content-Type" content="text/html;
    		charset=utf-8">
    		<title>TouchStart Application – My Sample App</title>
    		<!-- Sencha Touch CSS -->
    		<link rel="stylesheet" href="lib/resources/css/sencha-touch.css"
    		type="text/css">
    		<!-- Sencha Touch JS -->
    		<script type="text/javascript" src="lib/sencha-touch-debug.js">
    		</script>
    		<!-- Application JS -->
    		<script type="text/javascript" src="app/TouchStart.js">
    		</script>
    		<!-- Custom CSS -->
    		<link rel="stylesheet" href="css/TouchStart.css" type="text/css">
    	</head>
    	<body></body>
    </html>
    TouchStart.js
    Code:
    Ext.application({
    	name : 'TouchStart',
    	launch : function() { 
    		var hello = new Ext.Container({
    			fullscreen : true,
    			html : '<div id="hello">Hello World</div>'
    		});
    		this.viewport = hello;
    	}
    });
    and the error msg is this




  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,408
    Answers
    3549
    Vote Rating
    851
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Did you require Ext.Container?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1