微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

extjs3.0 源代码研究 序

1.文件加载顺序

dojo有build.txt文件表明各个文件的加载顺序,js然后自动加载css.

而extjs是完全一次性加载所有的控件的,js的加载顺序见ext-3.0-rc1/source/ext.jsb,css加载顺序为/ext-3.0-rc1/resources/resources.jsb

2.不用iframe的方法:如果用.autoLoad url:‘filepath.jsp’ filepath.jsp可以不用加载 ext-all.js.

3.CDN:

. If you needed to use a build with no grid or tree support you would just paste the following:

For those of you that need the complete library and use ext-all.js and ext-all.css we have those available as well.
 
 
 
参考:
1.http://extjs.com/learn/Manual:Intro
2.http://extjs.com/learn/Tutorials
3.http://extjs.com/learn/Manual:Resources

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐