问题描述
我已经接管了PHP + ExtJS项目。不幸的是,没有文档。如何找到正在使用的ExtJS版本?在jQuery中,我们通过运行$()。jquery;来获取版本。在ExtJS中这样的任何东西?
这样做的两个简单的方法。首先是从网络浏览器的控制台。
在ExtJS 3.x中:
Ext.version;
在ExtJS 4.x中:
Ext.getVersion('extjs');
或者你可以查看ext-all-debug.js并检查脚本顶部的版本号。在所有可追溯到1.0的版本中,它们包括ext-all-debug脚本顶部的版本号,它可能被称为别的,但只是看看你的应用程序层次结构。
I have taken over a PHP + ExtJS project. Unfortunately, there is no documentation. How do I find out the ExtJS version that is being used?
In jQuery, we get the ver by running "$().jquery;". Anything like this in ExtJS?
Two easy ways to do this. First is from a web browser's console..
In ExtJS 3.x:
Ext.version;
In ExtJS 4.x:
Ext.getVersion('extjs');
Or you can look in the ext-all-debug.js and check the version number at the top of the script. In all versions dating back to 1.0 they include the version number at the top of the ext-all-debug script, it might be called something else but just have a look around your application hierarchy.
这篇关于获取ExtJS版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!