Extjs4 Sencha SDK工具未缩小app-all.js
我正在Windows 7 64位中使用Sencha SDK工具2 Beta 3和ExtJS 4.0.7。Extjs4 Sencha SDK工具未缩小app-all.js,extjs4,extjs,minify,Extjs4,Extjs,Minify,我正在Windows 7 64位中使用Sencha SDK工具2 Beta 3和ExtJS 4.0.7。 构建项目后,app all.js文件未缩小 这是.JSB3文件(由Sencha生成): 和命令提示符中的Sencha结果(无错误) FUI:我的文件有Unicode字符 先谢谢你 更新:(文件夹结构,简化) (文件夹没有文件扩展名)这是关于一个内部错误。 在我的JS文件中,我已将float替换为'float',现在它可以工作了。这是关于一个内部错误。 在我的JS文件中,我已经用'float'
构建项目后,app all.js文件未缩小 这是.JSB3文件(由Sencha生成): 和命令提示符中的Sencha结果(无错误) FUI:我的文件有Unicode字符 先谢谢你 更新:(文件夹结构,简化)
(文件夹没有文件扩展名)这是关于一个内部错误。
在我的JS文件中,我已将float替换为'float',现在它可以工作了。这是关于一个内部错误。
在我的JS文件中,我已经用'float'替换了float,现在它可以工作了。你在“文件”中得到控制器类了吗`或者它只是
模型和控制器
?很抱歉,我不明白您的问题。app.jsb3
文件是否包含应用程序的控制器
类的定义?在我的中,app.jsb3
文件只包含模型和存储的定义,其中没有定义控制器。我的app.jsb包含控制器类:“clsName”:“Ext.app.controller”当然是。由于你的请求,我已经更新了我的帖子。你是在“文件”中得到控制器类了吗?还是它只是模型和控制器
?对不起,我不明白你问的是什么。app.jsb3
文件是否包含应用程序的控制器
类的定义?在我的中,app.jsb3
文件只包含模型和存储的定义,其中没有定义控制器。我的app.jsb包含控制器类:“clsName”:“Ext.app.controller”当然是。由于你的要求,我已经更新了我的帖子。
{
"projectName": "Project Name",
"licenseText": "Copyright(c) 2012 Company Name",
"builds": [
{
"name": "All Classes",
"target": "all-classes.js",
"options": {
"debug": true
},
"files": [
// All Classes
]
},
{
"name": "Application - Production",
"target": "app-all.js",
"compress": true,
"files": [
{
"path": "",
"name": "all-classes.js"
},
{
"path": "",
"name": "app.js"
}
]
}
],
"resources": []
}
Loaded 2 Builds
Creating the "All Classes" target as "all-classes.js"
- 256 file(s) included in this target.
+ // All Classes
* Parse all-classes.js with options:
- debug: true
- debugLevel: 1
Creating the "Application - Production" target as "app-all.js"
- 2 file(s) included in this target.
+ all-classes.js
+ app.js
* Parse app-all.js with options:
- debug: false
- debugLevel: 1
* Compress and obfuscate app-all.js...
Copy resources...
Done building!
MyApp
- app
-- controller
--- mycontroller.js
-- model
--- mymodel.js
-- store
--- mystore.js
-- view
--- myview.js
- ext
- app.js
- index.html