Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In chrome, in your stacktrace, (I think Firefox does stacktraces as well nowadays?) the file that is calling in a module is usually (always?) the 1st file that is not ext-all.</p> <p><code>Ext.require</code> is something used TO automate stuff ( eg js-minification) so you can't really automate it in and of itself. </p> <p>When you declare a component ( using <code>Ext.define</code> or <code>Ext.create</code> ) you should be specifying the modules the component that Ext is going to use for the component with <code>Ext.require</code> ( well, if you want to get rid of this warning atleast )</p> <p>Every <strong>custom</strong> component that you are using should more or less follow the same idea:</p> <pre><code>Ext.define('My.app.Panel', { extend: 'Ext.panel.Panel', // requires: [ 'My.app.PanelPart2', //Hey! warning is gone! 'My.app.PanelPart3' ] constructor: function (config) { this.callParent(arguments); //... }, statics: { method: function () { return 'abc'; } } }); </code></pre> <p>And if you don't care about performance, and only want to get rid of stray warnings ( insanity technically, you can just muck your error message, in the loader config .</p> <pre><code>Ext.loader.setConfig({ enabled: true, paths: { 'My': 'my_own_path' }, onError:function(){}//or custom handler? :D </code></pre> <p>See mitchsimeons answer: <a href="http://www.sencha.com/forum/showthread.php?178888-Tons-of-Synchronously-Loading-Warning-Messages" rel="noreferrer">http://www.sencha.com/forum/showthread.php?178888-Tons-of-Synchronously-Loading-Warning-Messages</a></p> <p>and a blog post on why requires: <a href="http://www.sencha.com/blog/using-ext-loader-for-your-application" rel="noreferrer">http://www.sencha.com/blog/using-ext-loader-for-your-application</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload