Using anything but the ext-debug.js file in my index.jsp is breaking my Ext Js 4.2 application.
I don't understand why this is happening, because, as I read, the ext-all.js file should be used on the production version of my application. It contains the whole framework in a single compressed file, so it should be faster.
So what I do is this: I create the app.jsb3 file, then the app-all.js file (using Sencha Tools 2.0 commands), then I edit the index.jsp file and change from
<script type="text/javascript" src="extjs/ext-debug.js"></script>
to
<script type="text/javascript" src="extjs/ext-all.js"></script>
Then I start the application and I got an error, although running it before the change works fine. I also tried with ext-debug-all.js and ext.js, every time I get a distinct error. Did anyone have this kind of issue?
Thanks in advance for your answers. This is my index.jsp file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Title</title>
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all-neptune.css" />
<link rel="stylesheet" type="text/css" href="resources/css/desktop.css" />
<link rel="stylesheet" type="text/css" href="resources/css/nc-custom.css" />
<link rel="stylesheet" type="text/css" href="resources/css/modules.css" />
<!-- <script type="text/javascript" src="extjs/ext-all.js"></script> -->
<!-- <script type="text/javascript" src="extjs/ext-theme-neptune.js"></script> -->
<script type="text/javascript" src="app-all.js"></script>
</head>
<body>
</body>
</html>