jeanluca
10 Jan 2012, 2:11 PM
Hello
I've followed the Sencha Touch 2 Getting Started Guide. All very nice, but now I'm trying to integrate the touch charts and getting the following error in my console:
Uncaught Error: [Ext.extend] Attempting to extend from a class which has not been loaded on the page.
Ext.extend sencha-touch-all.js:15 (http://localhost/~QNH/sencha2/touch/sencha-touch-all.js)
(anonymous function)
Here is my index.html files
<!DOCTYPE html><html>
<head>
<title>Getting Started</title>
<link rel="stylesheet" href="touch/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="touch/sencha-touch-all.js"></script>
<script type="text/javascript" src="touch-charts/touch-charts-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>
So I've downloaded The free Sencha Touch 2.0 SDK (http://www.sencha.com/blog/sencha-touch-2-developer-preview/) and the charts from here
(http://www.sencha.com/products/touch/charts/)Any suggestions what causes this error ?
Cheers
Luca
I've followed the Sencha Touch 2 Getting Started Guide. All very nice, but now I'm trying to integrate the touch charts and getting the following error in my console:
Uncaught Error: [Ext.extend] Attempting to extend from a class which has not been loaded on the page.
Ext.extend sencha-touch-all.js:15 (http://localhost/~QNH/sencha2/touch/sencha-touch-all.js)
(anonymous function)
Here is my index.html files
<!DOCTYPE html><html>
<head>
<title>Getting Started</title>
<link rel="stylesheet" href="touch/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="touch/sencha-touch-all.js"></script>
<script type="text/javascript" src="touch-charts/touch-charts-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>
So I've downloaded The free Sencha Touch 2.0 SDK (http://www.sencha.com/blog/sencha-touch-2-developer-preview/) and the charts from here
(http://www.sencha.com/products/touch/charts/)Any suggestions what causes this error ?
Cheers
Luca