bstras21
28 Nov 2011, 7:59 AM
My understanding is that when I want to go to production I use:
Ext.Loader.setConfig({
enabled: false
});
However I get this error:
Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically.
Here is my HTML, what am I doing wrong:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title id="page-title">testApp</title>
<link rel="stylesheet" type="text/css" href="js_lib/sencha_touch/resources/css/sencha-touch.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js_lib/sencha_touch/sencha-touch-all.js"></script>
<script type="text/javascript" src="app/app.js"></script>
</head>
<body>
</body>
</html>
Ext.Loader.setConfig({
enabled: false
});
However I get this error:
Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically.
Here is my HTML, what am I doing wrong:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title id="page-title">testApp</title>
<link rel="stylesheet" type="text/css" href="js_lib/sencha_touch/resources/css/sencha-touch.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js_lib/sencha_touch/sencha-touch-all.js"></script>
<script type="text/javascript" src="app/app.js"></script>
</head>
<body>
</body>
</html>