Extjs 5. Ext.application is not a function. Why?
问题 I get an error in console: Ext.application is not a function . My index.html file contains this code: ... <link rel="stylesheet" type="text/css" href="/ext-5.0.1/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css" /> <script src="/ext-5.0.1/ext-all-debug.js"></script> <script type="text/javascript" src="app.js"></script> ... While app.js has just this code, taken from one demo: Ext.application({ name: 'AM', appFolder: 'app', launch: function() { Ext.create('Ext.container