a77777777

\n\n<p>To fix this, we can add this one line of code above the call to <code>Ext.application</code>:</p><p>为了解决这个问题,我们可以添加一行Ext.application这上面调用代码:</p>\n\n<p><code>Ext.require('Ext.container.Viewport');</code></p>\n\n<p>This will ensure that the file containing the code for <code>Ext.container.Viewport</code> is loaded before the application runs.  You should no longer see the <code>Ext.Loader</code> warning when you refresh the page.</p><p>这将确保应用程序运行之前,加载文件包含代码Ext.container.Viewport的是。你应该不会再看到的Ext.Loader警告,当您刷新页面。</p>\n\n<h3>2.3 方法的文库Library Inclusion methods</h3>\n\n<p>When you unzip the Ext JS 4 download, you will see the following files:</p>\n\n<p>当你解压缩下载的EXT JS 4 文档,你会看到以下文件:</p>\n\n<ol>\n<li><p><code>ext-debug.js</code> - This file is only for use during development.  It provides the minimum number of core Ext JS classes needed to get up and running.  Any additional classes should be dynamically loaded as separate files as demonstrated above.这个文件是在发展过程中只使用。它提供了Ext JS的核心类起床和运行所需的最低数量。任何额外的类应作为单独的文件证明上述动态加载。</p></li>\n<li><p><code>ext.js</code> - same as <code>ext-debug.js</code> but minified for use in production.  Meant to be used in combination with your application's <code>app-all.js</code> file. (see section <em>3</em>)一样,但在生产中使用的精缩。意味着要与您的应用程序的APP-all.js文件结合使用。(见第3节)</p></li>\n<li><p><code>ext-all-debug.js</code> - This file contains the entire Ext JS library.  This can be helpful for shortening your initial learning curve, however <code>ext-debug.js</code> is preferred in most cases for actual application development.这个文件包含了整个Ext JS库。这可能有助于缩短您最初的学习曲线,但是EXT-debug.js优先在大多数情况下,为实际应用的发展。</p>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值